Skip to content

Commit

Permalink
Work
Browse files Browse the repository at this point in the history
Signed-off-by: Cole Miller <[email protected]>
  • Loading branch information
cole-miller committed Aug 17, 2024
1 parent fe5eaa5 commit 2318937
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/musl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
docker buildx build --load -t dqlite --build-arg=DQLITE_LOCATION=. .
- name: Run tests
run: |
docker run --name gha dqlite contrib/run-tests
docker run --privileged --name gha dqlite contrib/run-tests
- name: Extract files
if: failure()
run: |
Expand Down
19 changes: 5 additions & 14 deletions contrib/run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,15 @@

bins="unit-test integration-test raft-core-fuzzy-test raft-core-integration-test raft-core-unit-test raft-uv-integration-test raft-uv-unit-test"

cat >io_close.gdb <<EOF
cat >bt.gdb <<EOF
set pagination off
break ioCloseCb
command 1
bt
c
end
run
bt
generate-core-file
quit
EOF

# make -j$(nproc) $bins
# for bin in $bins; do
# LIBDQLITE_TRACE=1 gdb -x uv_close.gdb --args ./unit-test 'conn/exec/close_while_in_flight' --no-fork
# done
make -j$(nproc) unit-test
LIBDQLITE_TRACE=1 gdb -x io_close.gdb --args ./unit-test 'conn/exec/close_while_in_flight' --no-fork
make -j$(nproc) $bins
for bin in $bins; do
LIBDQLITE_TRACE=1 gdb -x bt.gdb --args ./$bin --no-fork
done

0 comments on commit 2318937

Please sign in to comment.