Skip to content

Commit 6d1d9eb

Browse files
jmidlyrm
authored andcommitted
reduce par_len in custom mpsc+spsc STM tests
1 parent 0a30964 commit 6d1d9eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/mpsc_queue/stm_mpsc_queue.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ let agree_prop_par (seq_pref, consumer, producer) =
123123
"Consumer domain" cmds can't be [Push] (but can be [Pop], [Is_empty], [Close] or [Push_head]),
124124
"producer domain" cmds can't be [Push_head] or [Pop] (but can be [Push], [Is_empty] or [Close]). *)
125125
let arb_cmds_par =
126-
WSDT_dom.arb_triple 20 15 WSDConf.arb_cmd WSDConf.arb_cmd WSDConf.producer_cmd
126+
WSDT_dom.arb_triple 20 12 WSDConf.arb_cmd WSDConf.arb_cmd WSDConf.producer_cmd
127127

128128
(* A parallel agreement test - w/repeat and retries combined *)
129129
let agree_test_par ~count ~name =

test/spsc_queue/stm_spsc_queue.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ let agree_prop_par (seq_pref, producer, consumer) =
9797
(* [arb_cmds_par] differs in what each triple component generates:
9898
"Producer domain" cmds can't be [Pop], "consumer domain" cmds can only be [Pop]. *)
9999
let arb_cmds_par =
100-
WSDT_dom.arb_triple 20 15 WSDConf.producer_cmd WSDConf.producer_cmd
100+
WSDT_dom.arb_triple 20 12 WSDConf.producer_cmd WSDConf.producer_cmd
101101
WSDConf.consumer_cmd
102102

103103
(* A parallel agreement test - w/repeat and retries combined *)

0 commit comments

Comments
 (0)