diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-06-26 16:10:49 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-06-26 16:10:49 +0200 |
commit | ccd79e68c6dd55b1c4b09a0f6abb3783f346ddcc (patch) | |
tree | 87f0c78f9aba1b09b0fafb1fdfc68785515fdcda /src/cli | |
parent | beb45b17933cbc371f5bc8bd08589b4f22bf316e (diff) | |
download | anastasis-ccd79e68c6dd55b1c4b09a0f6abb3783f346ddcc.tar.gz anastasis-ccd79e68c6dd55b1c4b09a0f6abb3783f346ddcc.tar.bz2 anastasis-ccd79e68c6dd55b1c4b09a0f6abb3783f346ddcc.zip |
fix #7227: use short timeout
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/Makefile.am | 1 | ||||
-rwxr-xr-x | src/cli/test_anastasis_reducer_recovery_hanging.sh | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/cli/Makefile.am b/src/cli/Makefile.am index dccd9af..44cad27 100644 --- a/src/cli/Makefile.am +++ b/src/cli/Makefile.am @@ -21,6 +21,7 @@ check_SCRIPTS = \ test_anastasis_reducer_enter_secret.sh \ test_anastasis_reducer_recovery_enter_user_attributes.sh \ test_anastasis_reducer_recovery_no_pay.sh \ + test_anastasis_reducer_recovery_hanging.sh \ test_iban.sh diff --git a/src/cli/test_anastasis_reducer_recovery_hanging.sh b/src/cli/test_anastasis_reducer_recovery_hanging.sh index dba9ee4..f67b850 100755 --- a/src/cli/test_anastasis_reducer_recovery_hanging.sh +++ b/src/cli/test_anastasis_reducer_recovery_hanging.sh @@ -3,7 +3,7 @@ # Runs tests with a 'hanging' Anastasis provider. set -eu -set -x +#set -x # Exit, with status code "skip" (no 'real' failure) function exit_skip() { @@ -22,6 +22,7 @@ function cleanup() { for n in `jobs -p` do + kill -SIGCONT $n # in case suspended... kill $n 2> /dev/null || true done rm -rf $CONF $R1FILE $R2FILE $B1FILE $B2FILE $TMP_DIR @@ -190,7 +191,6 @@ kill -SIGCONT $PPID_4 if test $DELTA -ge 5 then - bash exit_fail "Reducer hangs on suspended provider in 'enter_user_attributes'" fi |