Skip to content

Commit a9ff236

Browse files
authored
Merge pull request #415 from ocaml-multicore/strengthen-mutable-set-test
Strengthen mutable_set_v5 expect test against timing differences
2 parents d6ebdaf + 73d172c commit a9ff236

6 files changed

+3
-10
lines changed

CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
## Next
44

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

78
## 0.3
89

test/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
(package qcheck-stm)
9292
(libraries qcheck-stm.sequential threads.posix)
9393
(action
94-
(with-accepted-exit-codes 1 (run ./%{test} --verbose --seed 229109553))))
94+
(with-accepted-exit-codes 1 (run ./%{test} --seed 229109553))))
9595

9696
(test
9797
(name stm_next_state_exc)

test/mutable_set_v4.expected.32

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
random seed: 229109553
2-
generated error fail pass / total time test name
3-
[ ] 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
42

53
--- Failure --------------------------------------------------------------------
64

test/mutable_set_v4.expected.64

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
random seed: 229109553
2-
generated error fail pass / total time test name
3-
[ ] 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
42

53
--- Failure --------------------------------------------------------------------
64

test/mutable_set_v5.expected.32

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
random seed: 229109553
2-
generated error fail pass / total time test name
3-
[ ] 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
42

53
--- Failure --------------------------------------------------------------------
64

test/mutable_set_v5.expected.64

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
random seed: 229109553
2-
generated error fail pass / total time test name
3-
[ ] 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
42

53
--- Failure --------------------------------------------------------------------
64

0 commit comments

Comments
 (0)