@@ -17,45 +17,83 @@ jobs:
1717 - name : " Transfers_SI"
1818 workload : " transfer transfer-append"
1919 nemesis : " none partition packet clock crash"
20+ enable_one_phase_commit : false
2021 enable_group_commit : false
2122 isolation_level : " snapshot"
2223 consistency_model : " snapshot-isolation"
24+ time_limit : 600
2325 - name : " Transfers_2PC_SI"
2426 workload : " transfer-2pc transfer-append-2pc"
2527 nemesis : " none partition packet clock crash"
28+ enable_one_phase_commit : false
2629 enable_group_commit : false
2730 isolation_level : " snapshot"
2831 consistency_model : " snapshot-isolation"
32+ time_limit : 600
33+ - name : " ReadCommitted"
34+ workload : " elle-append elle-write-read"
35+ nemesis : " none partition packet clock crash"
36+ enable_one_phase_commit : false
37+ enable_group_commit : false
38+ isolation_level : " read-committed"
39+ consistency_model : " cursor-stability"
40+ time_limit : 600
41+ - name : " ReadCommitted_2PC"
42+ workload : " elle-append-2pc elle-write-read-2pc"
43+ nemesis : " none partition packet clock crash"
44+ enable_one_phase_commit : false
45+ enable_group_commit : false
46+ isolation_level : " read-committed"
47+ consistency_model : " cursor-stability"
48+ time_limit : 600
2949 - name : " RCSI"
3050 workload : " elle-append elle-write-read"
3151 nemesis : " none partition packet clock crash"
52+ enable_one_phase_commit : false
3253 enable_group_commit : false
3354 isolation_level : " snapshot"
3455 consistency_model : " cursor-stability"
56+ time_limit : 600
3557 - name : " RCSI_2PC"
3658 workload : " elle-append-2pc elle-write-read-2pc"
3759 nemesis : " none partition packet clock crash"
60+ enable_one_phase_commit : false
3861 enable_group_commit : false
3962 isolation_level : " snapshot"
4063 consistency_model : " cursor-stability"
64+ time_limit : 600
4165 - name : " Serializable"
4266 workload : " elle-append elle-write-read"
4367 nemesis : " none partition packet clock crash"
68+ enable_one_phase_commit : false
4469 enable_group_commit : false
4570 isolation_level : " serializable"
4671 consistency_model : " strict-serializable"
72+ time_limit : 600
4773 - name : " Serializable_2PC"
4874 workload : " elle-append-2pc elle-write-read-2pc"
4975 nemesis : " none partition packet clock crash"
76+ enable_one_phase_commit : false
5077 enable_group_commit : false
5178 isolation_level : " serializable"
5279 consistency_model : " strict-serializable"
80+ time_limit : 600
81+ - name : " OnePhaseCommit"
82+ workload : " elle-append elle-write-read"
83+ nemesis : " none partition packet clock crash"
84+ enable_one_phase_commit : true
85+ enable_group_commit : false
86+ isolation_level : " snapshot"
87+ consistency_model : " cursor-stability"
88+ time_limit : 600
5389 - name : " GroupCommit"
5490 workload : " elle-append elle-write-read"
5591 nemesis : " none partition packet clock crash"
92+ enable_one_phase_commit : false
5693 enable_group_commit : true
5794 isolation_level : " serializable"
5895 consistency_model : " strict-serializable"
96+ time_limit : 600
5997
6098 steps :
6199 - uses : actions/checkout@v4
@@ -147,11 +185,14 @@ jobs:
147185 done
148186 OPTS+=" --isolation-level ${{ matrix.tests.isolation_level }}"
149187 OPTS+=" --consistency-model ${{ matrix.tests.consistency_model }}"
188+ if [ "${{ matrix.tests.enable_one_phase_commit }}" = "true" ]; then
189+ OPTS+=" --enable-one-phase-commit"
190+ fi
150191 if [ "${{ matrix.tests.enable_group_commit }}" = "true" ]; then
151192 OPTS+=" --enable-group-commit"
152193 fi
153194 lein with-profile cluster run test \
154- --time-limit 600 \
195+ --time-limit ${{ matrix.tests.time_limit }} \
155196 --nodes localhost \
156197 --db cluster \
157198 --concurrency 5 \
0 commit comments