Skip to content

Commit 6eb816e

Browse files
committed
Adds sleep
Signed-off-by: joshvanl <[email protected]>
1 parent 68b1662 commit 6eb816e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/e2e/standalone/scheduler_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ func TestSchedulerList(t *testing.T) {
6161
assert.Len(c, strings.Split(output, "\n"), 10)
6262
}, time.Second*30, time.Millisecond*10)
6363

64+
time.Sleep(time.Second * 3)
65+
6466
t.Run("short", func(t *testing.T) {
6567
output, err := cmdSchedulerList()
6668
require.NoError(t, err)
@@ -103,6 +105,9 @@ func TestSchedulerList(t *testing.T) {
103105
count, err := strconv.Atoi(strings.Fields(line)[2])
104106
require.NoError(t, err)
105107
assert.Equal(t, 0, count)
108+
if err != nil {
109+
return
110+
}
106111
}
107112

108113
expNames = []string{

0 commit comments

Comments
 (0)