Skip to content

Commit b6f8fc5

Browse files
sgillespiekderme
authored andcommitted
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 5e54703 commit b6f8fc5

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/CommandLineArg/MigrateConsumedPruneTxOut.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ migrateAndPruneRestart =
390390
newEnv = dbSync {dbSyncParams = newParams}
391391
startDBSync newEnv
392392
-- There is a slight delay before the flag is checked
393-
threadDelay 3_000_000
393+
threadDelay 6_000_000
394394
-- Expected to fail
395395
checkStillRuns dbSync
396396
where
@@ -419,7 +419,7 @@ pruneRestartMissingFlag =
419419
newEnv = dbSync {dbSyncParams = newParams}
420420
startDBSync newEnv
421421
-- There is a slight delay before the flag is checked
422-
threadDelay 3_000_000
422+
threadDelay 6_000_000
423423
-- Expected to fail
424424
checkStillRuns dbSync
425425
where
@@ -448,7 +448,7 @@ bootstrapRestartMissingFlag =
448448
newEnv = dbSync {dbSyncParams = newParams}
449449
startDBSync newEnv
450450
-- There is a slight delay befor the flag is checked
451-
threadDelay 3_000_000
451+
threadDelay 6_000_000
452452
-- Expected to fail
453453
checkStillRuns dbSync
454454
where

0 commit comments

Comments
 (0)