We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5745bb4 commit 5ae5e58Copy full SHA for 5ae5e58
tests/apps/scheduler/app.go
@@ -45,6 +45,14 @@ func main() {
45
mux.HandleFunc("/healthz", func(w http.ResponseWriter, r *http.Request) {})
46
47
go func() {
48
+ log.Printf("Waiting for registration call...")
49
+ select {
50
+ case <-regCh:
51
+ log.Printf("Registration call received")
52
+ case <-ctx.Done():
53
+ log.Printf("Context done while waiting for registration call")
54
+ return
55
+ }
56
register(ctx)
57
}()
58
tests/e2e/standalone/scheduler_test.go
@@ -55,6 +55,8 @@ func TestSchedulerList(t *testing.T) {
t.Log(err)
+ time.Sleep(time.Second * 10)
59
+
60
require.EventuallyWithT(t, func(c *assert.CollectT) {
61
output, err := cmdSchedulerList()
62
require.NoError(t, err)
0 commit comments