Skip to content

Commit 508db92

Browse files
committed
fix(ci): Increase timeout to 6 seconds on restart tests
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
1 parent 543d37f commit 508db92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cardano-chain-gen/test/Test/Cardano/Db/Mock/Unit/Conway/Config/MigrateConsumedPruneTxOut.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ migrateAndPruneRestart =
406406
newEnv <- replaceConfigFile "test-db-sync-config.json" dbSync
407407
startDBSync newEnv
408408
-- There is a slight delay before the flag is checked
409-
threadDelay 3_000_000
409+
threadDelay 6_000_000
410410
-- Expected to fail
411411
checkStillRuns dbSync
412412
where
@@ -432,7 +432,7 @@ pruneRestartMissingFlag =
432432
newEnv <- replaceConfigFile "test-db-sync-config.json" dbSync
433433
startDBSync newEnv
434434
-- There is a slight delay before the flag is checked
435-
threadDelay 3_000_000
435+
threadDelay 6_000_000
436436
-- Expected to fail
437437
checkStillRuns dbSync
438438
where
@@ -458,7 +458,7 @@ bootstrapRestartMissingFlag =
458458
newEnv <- replaceConfigFile "test-db-sync-config.json" dbSync
459459
startDBSync newEnv
460460
-- There is a slight delay befor the flag is checked
461-
threadDelay 3_000_000
461+
threadDelay 6_000_000
462462
-- Expected to fail
463463
checkStillRuns dbSync
464464
where

0 commit comments

Comments
 (0)