Skip to content

Commit 1d2b636

Browse files
committed
Fix failing test
1 parent 18d4100 commit 1d2b636

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/UpdateTimeStamps.hs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,10 @@ hprop_update_time_stamps = integrationRetryWorkspace 2 "update-time-stamps" $ \t
4444
-- the time bounds in the sandbox' config files are no longer valid
4545
H.threadDelay $ double2Int $ realToFrac startTimeOffsetSeconds * 1_000_000 * 1.2
4646

47-
-- Call `createTestnetEnv` again to update the time stamps
48-
createTestnetEnv
49-
testnetOptions genesisOptions
50-
def
47+
-- Run testnet and specify to update time stamps before starting
48+
runtime <- cardanoTestnet
49+
testnetOptions
50+
genesisOptions
5151
conf{updateTimestamps = UpdateTimestamps}
5252

53-
-- Run testnet with generated config
54-
runtime <- cardanoTestnet testnetOptions genesisOptions conf
55-
5653
nodesProduceBlocks tmpDir runtime

0 commit comments

Comments
 (0)