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

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

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

	ts := newFakeTeeServer(t)
	test.CheckShardLock(ctx, t, ts)
}
Exemplo n.º 4
0
func TestShardLock(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.CheckShardLock(ctx, t, ts)
}
Exemplo n.º 5
0
func TestShardLock(t *testing.T) {
	ts := newFakeTeeServer(t)
	test.CheckShardLock(t, ts)
}
Exemplo n.º 6
0
func TestShardLock(t *testing.T) {
	ts := NewTestServer(t, []string{"test"})
	test.CheckShardLock(t, ts)
}