summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYossi Gottlieb <yossigo@gmail.com>2021-02-07 12:37:24 +0200
committerGitHub <noreply@github.com>2021-02-07 12:37:24 +0200
commit5b8350aaaa1b10efc49ee6b3c15a0559c69c9b20 (patch)
tree3442e39c262d71c5e9b5c0326511bb973e0102fd /.github
parentbe83bb13a8eaad68b7580b95c696f2554cf7100e (diff)
downloadredis-5b8350aaaa1b10efc49ee6b3c15a0559c69c9b20.tar.gz
Add --dump-logs tests option. (#8459)
Dump the entire server log if a test failed, to easy troubleshooting with no access to log files.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/daily.yml24
1 files changed, 12 insertions, 12 deletions
diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml
index 589694f38..e3cb1a344 100644
--- a/.github/workflows/daily.yml
+++ b/.github/workflows/daily.yml
@@ -21,7 +21,7 @@ jobs:
- name: test
run: |
sudo apt-get install tcl8.5
- ./runtest --accurate --verbose
+ ./runtest --accurate --verbose --dump-logs
- name: module api test
run: ./runtest-moduleapi --verbose
- name: sentinel tests
@@ -40,7 +40,7 @@ jobs:
- name: test
run: |
sudo apt-get install tcl8.5
- ./runtest --accurate --verbose
+ ./runtest --accurate --verbose --dump-logs
- name: module api test
run: ./runtest-moduleapi --verbose
- name: sentinel tests
@@ -61,7 +61,7 @@ jobs:
- name: test
run: |
sudo apt-get install tcl8.5
- ./runtest --accurate --verbose
+ ./runtest --accurate --verbose --dump-logs
- name: module api test
run: |
make -C tests/modules 32bit # the script below doesn't have an argument, we must build manually ahead of time
@@ -84,8 +84,8 @@ jobs:
run: |
sudo apt-get install tcl8.5 tcl-tls
./utils/gen-test-certs.sh
- ./runtest --accurate --verbose --tls
- ./runtest --accurate --verbose
+ ./runtest --accurate --verbose --tls --dump-logs
+ ./runtest --accurate --verbose --dump-logs
- name: module api test
run: |
./runtest-moduleapi --verbose --tls
@@ -111,7 +111,7 @@ jobs:
- name: test
run: |
sudo apt-get install tcl8.5 tcl-tls
- ./runtest --config io-threads 4 --config io-threads-do-reads yes --accurate --verbose --tags network
+ ./runtest --config io-threads 4 --config io-threads-do-reads yes --accurate --verbose --tags network --dump-logs
- name: cluster tests
run: |
./runtest-cluster --config io-threads 4 --config io-threads-do-reads yes
@@ -128,7 +128,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install tcl8.5 valgrind -y
- ./runtest --valgrind --verbose --clients 1
+ ./runtest --valgrind --verbose --clients 1 --dump-logs
- name: module api test
run: ./runtest-moduleapi --valgrind --verbose --clients 1
@@ -146,7 +146,7 @@ jobs:
- name: test
run: |
yum -y install which tcl
- ./runtest --accurate --verbose
+ ./runtest --accurate --verbose --dump-logs
- name: module api test
run: ./runtest-moduleapi --verbose
- name: sentinel tests
@@ -170,8 +170,8 @@ jobs:
run: |
yum -y install tcl tcltls
./utils/gen-test-certs.sh
- ./runtest --accurate --verbose --tls
- ./runtest --accurate --verbose
+ ./runtest --accurate --verbose --tls --dump-logs
+ ./runtest --accurate --verbose --dump-logs
- name: module api test
run: |
./runtest-moduleapi --verbose --tls
@@ -195,7 +195,7 @@ jobs:
run: make
- name: test
run: |
- ./runtest --accurate --verbose --no-latency
+ ./runtest --accurate --verbose --no-latency --dump-logs
- name: module api test
run: ./runtest-moduleapi --verbose
- name: sentinel tests
@@ -217,7 +217,7 @@ jobs:
prepare: pkg install -y bash gmake lang/tcl86
run: >
gmake &&
- ./runtest --accurate --verbose --no-latency &&
+ ./runtest --accurate --verbose --no-latency --dump-logs &&
MAKE=gmake ./runtest-moduleapi --verbose &&
./runtest-sentinel &&
./runtest-cluster