@@ -140,7 +140,7 @@ jobs:
140
140
echo "disk space is:"
141
141
df -h
142
142
143
- - name : C++ Unit Tests
143
+ - name : C++ Unit Tests - IoUring
144
144
run : |
145
145
cd ${GITHUB_WORKSPACE}/build
146
146
echo Run ctest -V -L DFLY
@@ -151,7 +151,14 @@ jobs:
151
151
# Run allocation tracker test separately without alsologtostderr because it generates a TON of logs.
152
152
FLAGS_fiber_safety_margin=4096 timeout 5m ./allocation_tracker_test
153
153
154
- echo "Running tests with --force_epoll"
154
+ timeout 5m ./dragonfly_test
155
+ timeout 5m ./json_family_test --jsonpathv2=false
156
+ timeout 5m ./tiered_storage_test --vmodule=db_slice=2 --logtostderr
157
+
158
+
159
+ - name : C++ Unit Tests - Epoll
160
+ run : |
161
+ cd ${GITHUB_WORKSPACE}/build
155
162
156
163
# Create a rule that automatically prints stacktrace upon segfault
157
164
cat > ./init.gdb <<EOF
@@ -166,18 +173,14 @@ jobs:
166
173
167
174
FLAGS_fiber_safety_margin=4096 FLAGS_force_epoll=true timeout 5m ./allocation_tracker_test
168
175
169
- echo "Finished running tests with --force_epoll"
170
-
171
- echo "Running tests with --cluster_mode=emulated"
176
+ - name : C++ Unit Tests - IoUring with cluster mode
177
+ run : |
172
178
FLAGS_fiber_safety_margin=4096 FLAGS_cluster_mode=emulated timeout 20m ctest -V -L DFLY
173
179
174
- echo "Running tests with both --cluster_mode=emulated & --lock_on_hashtags"
180
+ - name : C++ Unit Tests - IoUring with cluster mode and FLAGS_lock_on_hashtags
181
+ run : |
175
182
FLAGS_fiber_safety_margin=4096 FLAGS_cluster_mode=emulated FLAGS_lock_on_hashtags=true timeout 20m ctest -V -L DFLY
176
183
177
- timeout 5m ./dragonfly_test
178
- timeout 5m ./json_family_test --jsonpathv2=false
179
- timeout 5m ./tiered_storage_test --vmodule=db_slice=2 --logtostderr
180
-
181
184
- name : Upload unit logs on failure
182
185
if : failure()
183
186
uses : actions/upload-artifact@v4
0 commit comments