Skip to content

Commit

Permalink
Merge pull request #415 from ocaml-multicore/strengthen-mutable-set-test
Browse files Browse the repository at this point in the history
Strengthen mutable_set_v5 expect test against timing differences
  • Loading branch information
jmid authored Nov 22, 2023
2 parents d6ebdaf + 73d172c commit a9ff236
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 10 deletions.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

## Next

- ...
- #415: Remove `--verbose` in internal `mutable_set_v5` expect test to avoid
a test failure on a slow machine

## 0.3

Expand Down
2 changes: 1 addition & 1 deletion test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
(package qcheck-stm)
(libraries qcheck-stm.sequential threads.posix)
(action
(with-accepted-exit-codes 1 (run ./%{test} --verbose --seed 229109553))))
(with-accepted-exit-codes 1 (run ./%{test} --seed 229109553))))

(test
(name stm_next_state_exc)
Expand Down
2 changes: 0 additions & 2 deletions test/mutable_set_v4.expected.32
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
random seed: 229109553
generated error fail pass / total time test name
[ ] 0 0 0 0 / 100 0.0s STM sequential tests[ ] 0 0 0 0 / 100 0.0s STM sequential tests (generating)[✗] 2 0 1 1 / 100 0.0s STM sequential tests

--- Failure --------------------------------------------------------------------

Expand Down
2 changes: 0 additions & 2 deletions test/mutable_set_v4.expected.64
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
random seed: 229109553
generated error fail pass / total time test name
[ ] 0 0 0 0 / 100 0.0s STM sequential tests[ ] 0 0 0 0 / 100 0.0s STM sequential tests (generating)[✗] 2 0 1 1 / 100 0.0s STM sequential tests

--- Failure --------------------------------------------------------------------

Expand Down
2 changes: 0 additions & 2 deletions test/mutable_set_v5.expected.32
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
random seed: 229109553
generated error fail pass / total time test name
[ ] 0 0 0 0 / 100 0.0s STM sequential tests[ ] 0 0 0 0 / 100 0.0s STM sequential tests (generating)[✗] 2 0 1 1 / 100 0.0s STM sequential tests

--- Failure --------------------------------------------------------------------

Expand Down
2 changes: 0 additions & 2 deletions test/mutable_set_v5.expected.64
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
random seed: 229109553
generated error fail pass / total time test name
[ ] 0 0 0 0 / 100 0.0s STM sequential tests[ ] 0 0 0 0 / 100 0.0s STM sequential tests (generating)[✗] 2 0 1 1 / 100 0.0s STM sequential tests

--- Failure --------------------------------------------------------------------

Expand Down

0 comments on commit a9ff236

Please sign in to comment.