Skip to content

Commit a7d39bc

Browse files
Avoid uncommon nightly failures (#96)
1 parent 0d7dcfe commit a7d39bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

quickcheck-dynamic/test/Spec/DynamicLogic/RegistryModel.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,5 +354,5 @@ tests =
354354
, testProperty "moreActions 10 $ prop_Registry" $ moreActions 10 $ prop_Registry
355355
, testProperty "canRegister" $ propDL canRegister
356356
, testProperty "canRegisterNoUnregister" $ expectFailure $ propDL canRegisterNoUnregister
357-
, testProperty "prop_parRegistryIOSimPor" $ expectFailure $ withMaxSuccess 1000 $ discardAfter 1000 $ prop_parRegistryIOSimPor
357+
, testProperty "prop_parRegistryIOSimPor" $ expectFailure $ withMaxSuccess 10000 $ discardAfter 1000 $ prop_parRegistryIOSimPor
358358
]

quickcheck-dynamic/test/Test/QuickCheck/StateModelSpec.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ tests =
4444
prop_longSequences
4545
, testProperty
4646
"IOSimPor finds counterexample in parallel counters"
47-
$ expectFailure prop_counter_parIOSimPor
47+
$ expectFailure $ withMaxSuccess 10000 $ discardAfter 1000 $ prop_counter_parIOSimPor
4848
]
4949

5050
captureTerminal :: Testable p => p -> IO Result

0 commit comments

Comments
 (0)