Welcome to mirror list, hosted at ThFree Co, Russian Federation.

monitor_test.go « supervisor « internal - gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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")
}