Example #1
0
func TestWatchEndPoints(t *testing.T) {
	WatchSleepDuration = 2 * time.Millisecond
	ts := NewTestServer(t, []string{"test"})
	defer ts.Close()
	test.CheckWatchEndPoints(context.Background(), t, ts)
}
Example #2
0
func TestWatchEndPoints(t *testing.T) {
	ctx := context.Background()
	ts := newTestServer(t, []string{"test"})
	defer ts.Close()
	test.CheckWatchEndPoints(ctx, t, ts)
}