Esempio n. 1
0
func TestSrvShardLock(t *testing.T) {
	if testing.Short() {
		t.Skip("skipping wait-based test in short mode.")
	}

	ts := newFakeTeeServer(t)
	test.CheckSrvShardLock(t, ts)
}
Esempio n. 2
0
func TestSrvShardLock(t *testing.T) {
	if testing.Short() {
		t.Skip("skipping wait-based test in short mode.")
	}

	ts := NewTestServer(t, []string{"test"})
	defer ts.Close()
	test.CheckSrvShardLock(t, ts)
}
Esempio n. 3
0
func TestSrvShardLock(t *testing.T) {
	ctx := context.Background()
	if testing.Short() {
		t.Skip("skipping wait-based test in short mode.")
	}

	ts := newFakeTeeServer(t)
	test.CheckSrvShardLock(ctx, t, ts)
}
Esempio n. 4
0
func TestSrvShardLock(t *testing.T) {
	ctx := context.Background()
	if testing.Short() {
		t.Skip("skipping wait-based test in short mode.")
	}

	ts := newTestServer(t, []string{"test"})
	defer ts.Close()
	test.CheckSrvShardLock(ctx, t, ts)
}
Esempio n. 5
0
func TestSrvShardLock(t *testing.T) {
	ts := NewTestServer(t, []string{"test"})
	defer ts.Close()
	test.CheckSrvShardLock(t, ts)
}
Esempio n. 6
0
func TestSrvShardLock(t *testing.T) {
	ts := newFakeTeeServer(t)
	test.CheckSrvShardLock(t, ts)
}