Skip to content

Commit 3105cd1

Browse files
committed
DO not call 'cleanup' in 'run-upstream'
Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent 169f1e4 commit 3105cd1

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

test/run-upstream

-4
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ cid_file=$CID_FILE_DIR/$(mktemp -u -p . --suffix=.cid)
7373

7474
TEST_SET=${TESTS:-$TEST_LIST_CLIENTS} ct_run_tests_from_testset "clients"
7575

76-
cleanup
77-
7876
if [[ "$VERSION" != "18" ]]; then
7977
# This test is not available for NodeJS-18
8078
# There is a traceback in NodeJS. It reached EOL support.
@@ -86,6 +84,4 @@ if [[ "$VERSION" != "18" ]]; then
8684
#npm ERR! gyp ERR! not ok
8785
TEST_SET=${TESTS:-$TEST_LIST_BINARY} ct_run_tests_from_testset "binary"
8886

89-
cleanup
90-
9187
fi

test/test-lib-nodejs.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,9 @@ function test_running_client_js {
408408
prepare "$1"
409409
check_prep_result $? $1 || return
410410
run_s2i_build_client "$1"
411-
ct_check_testcase_result $?
411+
ct_check_testcase_result $? || return
412412
run_client_test_suite "$1"
413-
ct_check_testcase_result $?
413+
ct_check_testcase_result $? || return
414414
}
415415

416416
function test_client_express() {

0 commit comments

Comments
 (0)