mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
chore: split unit test steps in ci workflow
Signed-off-by: kostas <kostas@dragonflydb.io>
This commit is contained in:
parent
a02af96457
commit
182cce8dd8
1 changed files with 13 additions and 10 deletions
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
|
@ -140,7 +140,7 @@ jobs:
|
|||
echo "disk space is:"
|
||||
df -h
|
||||
|
||||
- name: C++ Unit Tests
|
||||
- name: C++ Unit Tests - IoUring
|
||||
run: |
|
||||
cd ${GITHUB_WORKSPACE}/build
|
||||
echo Run ctest -V -L DFLY
|
||||
|
@ -151,7 +151,14 @@ jobs:
|
|||
# Run allocation tracker test separately without alsologtostderr because it generates a TON of logs.
|
||||
FLAGS_fiber_safety_margin=4096 timeout 5m ./allocation_tracker_test
|
||||
|
||||
echo "Running tests with --force_epoll"
|
||||
timeout 5m ./dragonfly_test
|
||||
timeout 5m ./json_family_test --jsonpathv2=false
|
||||
timeout 5m ./tiered_storage_test --vmodule=db_slice=2 --logtostderr
|
||||
|
||||
|
||||
- name: C++ Unit Tests - Epoll
|
||||
run: |
|
||||
cd ${GITHUB_WORKSPACE}/build
|
||||
|
||||
# Create a rule that automatically prints stacktrace upon segfault
|
||||
cat > ./init.gdb <<EOF
|
||||
|
@ -166,18 +173,14 @@ jobs:
|
|||
|
||||
FLAGS_fiber_safety_margin=4096 FLAGS_force_epoll=true timeout 5m ./allocation_tracker_test
|
||||
|
||||
echo "Finished running tests with --force_epoll"
|
||||
|
||||
echo "Running tests with --cluster_mode=emulated"
|
||||
- name: C++ Unit Tests - IoUring with cluster mode
|
||||
run: |
|
||||
FLAGS_fiber_safety_margin=4096 FLAGS_cluster_mode=emulated timeout 20m ctest -V -L DFLY
|
||||
|
||||
echo "Running tests with both --cluster_mode=emulated & --lock_on_hashtags"
|
||||
- name: C++ Unit Tests - IoUring with cluster mode and FLAGS_lock_on_hashtags
|
||||
run: |
|
||||
FLAGS_fiber_safety_margin=4096 FLAGS_cluster_mode=emulated FLAGS_lock_on_hashtags=true timeout 20m ctest -V -L DFLY
|
||||
|
||||
timeout 5m ./dragonfly_test
|
||||
timeout 5m ./json_family_test --jsonpathv2=false
|
||||
timeout 5m ./tiered_storage_test --vmodule=db_slice=2 --logtostderr
|
||||
|
||||
- name: Upload unit logs on failure
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue