Skip to content

Commit b8fd697

Browse files
committed
Increases timeout for waiting for list output
Signed-off-by: joshvanl <[email protected]>
1 parent bcb8fb7 commit b8fd697

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/e2e/standalone/scheduler_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func TestSchedulerList(t *testing.T) {
5454
output, err := cmdSchedulerList()
5555
require.NoError(t, err)
5656
assert.Len(c, strings.Split(output, "\n"), 10)
57-
}, time.Second*10, time.Millisecond*10)
57+
}, time.Second*30, time.Millisecond*10)
5858

5959
t.Run("short", func(t *testing.T) {
6060
output, err := cmdSchedulerList()
@@ -201,7 +201,7 @@ func TestSchedulerGet(t *testing.T) {
201201
output, err := cmdSchedulerList()
202202
require.NoError(t, err)
203203
assert.Len(c, strings.Split(output, "\n"), 10)
204-
}, time.Second*10, time.Millisecond*10)
204+
}, time.Second*30, time.Millisecond*10)
205205

206206
expNames := []string{
207207
"actor/myactortype/actorid1/test1",
@@ -299,7 +299,7 @@ func TestSchedulerDelete(t *testing.T) {
299299
output, err := cmdSchedulerList()
300300
require.NoError(t, err)
301301
assert.Len(c, strings.Split(output, "\n"), 10)
302-
}, time.Second*10, time.Millisecond*10)
302+
}, time.Second*30, time.Millisecond*10)
303303

304304
output, err := cmdSchedulerList()
305305
require.NoError(t, err)
@@ -366,7 +366,7 @@ func TestSchedulerDeleteAllAll(t *testing.T) {
366366
output, err := cmdSchedulerList()
367367
require.NoError(t, err)
368368
assert.Len(c, strings.Split(output, "\n"), 10)
369-
}, time.Second*10, time.Millisecond*10)
369+
}, time.Second*30, time.Millisecond*10)
370370

371371
_, err := cmdSchedulerDeleteAll("all")
372372
require.NoError(t, err)
@@ -399,7 +399,7 @@ func TestSchedulerDeleteAll(t *testing.T) {
399399
output, err := cmdSchedulerList()
400400
require.NoError(t, err)
401401
assert.Len(c, strings.Split(output, "\n"), 10)
402-
}, time.Second*10, time.Millisecond*10)
402+
}, time.Second*30, time.Millisecond*10)
403403

404404
_, err := cmdSchedulerDeleteAll("app/test-scheduler")
405405
require.NoError(t, err)
@@ -455,7 +455,7 @@ func TestSchedulerExportImport(t *testing.T) {
455455
output, err := cmdSchedulerList()
456456
require.NoError(t, err)
457457
assert.Len(c, strings.Split(output, "\n"), 10)
458-
}, time.Second*10, time.Millisecond*10)
458+
}, time.Second*30, time.Millisecond*10)
459459

460460
f := filepath.Join(t.TempDir(), "foo")
461461
_, err := cmdSchedulerExport("-o", f)

0 commit comments

Comments
 (0)