func TestShardLock(t *testing.T) { if testing.Short() { t.Skip("skipping wait-based test in short mode.") } ts := newFakeTeeServer(t) test.CheckShardLock(t, ts) }
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) }