Skip to content

Commit

Permalink
fix(ci): Increase timeout to 6 seconds on restart tests
Browse files Browse the repository at this point in the history
When fingerprints are missing, it takes much longer to run these
tests, and 3 seconds may not be long enough to exit on slower
runners
  • Loading branch information
sgillespie committed May 3, 2024
1 parent 543d37f commit 508db92
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ migrateAndPruneRestart =
newEnv <- replaceConfigFile "test-db-sync-config.json" dbSync
startDBSync newEnv
-- There is a slight delay before the flag is checked
threadDelay 3_000_000
threadDelay 6_000_000
-- Expected to fail
checkStillRuns dbSync
where
Expand All @@ -432,7 +432,7 @@ pruneRestartMissingFlag =
newEnv <- replaceConfigFile "test-db-sync-config.json" dbSync
startDBSync newEnv
-- There is a slight delay before the flag is checked
threadDelay 3_000_000
threadDelay 6_000_000
-- Expected to fail
checkStillRuns dbSync
where
Expand All @@ -458,7 +458,7 @@ bootstrapRestartMissingFlag =
newEnv <- replaceConfigFile "test-db-sync-config.json" dbSync
startDBSync newEnv
-- There is a slight delay befor the flag is checked
threadDelay 3_000_000
threadDelay 6_000_000
-- Expected to fail
checkStillRuns dbSync
where
Expand Down

0 comments on commit 508db92

Please sign in to comment.