blob: 8b78aaf8a785f303573fe8958574a74eb8f96be7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package supervisor
import (
"os"
"testing"
"github.com/stretchr/testify/require"
)
func TestGetRss(t *testing.T) {
rss := getRss(os.Getpid())
require.True(t, rss > 0, "Expected a positive RSS")
}
|