File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 24
24
[sets :as sets]
25
25
[counter :as counter]]))
26
26
27
+ (def minimal-concurrency
28
+ 10 )
29
+
27
30
(def workloads
28
31
" A map of workload names to functions that can take opts and construct
29
32
workloads.
47
50
; :monotonic monotonic/workload
48
51
; :multimonotonic multimonotonic/workload
49
52
; :pages pages/workload
50
- :none (fn [_] tests/noop-test)
51
53
:register register/workload})
52
54
53
55
(def standard-workloads
56
58
57
59
(def workloads-expected-to-pass
58
60
" A collection of workload names which we expect should actually pass."
59
- (remove #{:register : counter-dec } standard-workloads))
61
+ (remove #{:counter-dec } standard-workloads))
60
62
61
63
(def workload-options
62
64
" For each workload, a map of workload options to all the values that option
161
163
:engine (:engine opts)
162
164
:mvcc (:mvcc opts)
163
165
:pure-generators true
166
+ :concurrency (if (and (< (:concurrency opts) minimal-concurrency)
167
+ (= (:workload opts) :register ))
168
+ 10
169
+ (:concurrency opts))
164
170
:generator gen
165
171
:checker (checker/compose {:perf (checker/perf )
166
172
:clock-skew (checker/clock-plot )
You can’t perform that action at this time.
0 commit comments