Skip to content

Commit 72a1d3e

Browse files
committed
be more lenient with timeout for a test
1 parent c30803a commit 72a1d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbos/admin_server_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ func TestAdminServer(t *testing.T) {
978978
// Wait for 2-3 executions to verify scheduler is running
979979
require.Eventually(t, func() bool {
980980
return executionCount.Load() >= 2
981-
}, 3*time.Second, 100*time.Millisecond, "Expected at least 2 scheduled workflow executions")
981+
}, 10*time.Second, 100*time.Millisecond, "Expected at least 2 scheduled workflow executions")
982982

983983
// Call deactivate endpoint
984984
endpoint := fmt.Sprintf("http://localhost:%d/%s", _DEFAULT_ADMIN_SERVER_PORT, strings.TrimPrefix(_DEACTIVATE_PATTERN, "GET /"))

0 commit comments

Comments
 (0)