Skip to content

Commit 64bad7b

Browse files
Merge pull request #16919 from bparees/serial
Automatic merge from submit-queue. don't run conformance tests w/ serial unless they are part of the focus fixes #16626
2 parents b10446e + 37dd59f commit 64bad7b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/extended/setup.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ function os::test::extended::focus () {
2121
# the [Serial] tag to them as needed.
2222
os::log::info ""
2323
os::log::info "Running serial tests with focus ${FOCUS}"
24-
TEST_REPORT_FILE_NAME=focus_serial os::test::extended::run -- -suite "serial.conformance.openshift.io" -test.timeout 6h ${TEST_EXTENDED_ARGS-} || exitstatus=$?
24+
t=$FOCUS
25+
FOCUS="\[Serial\].*?${t}"
26+
TEST_REPORT_FILE_NAME=focus_serial os::test::extended::run -- -test.timeout 6h ${TEST_EXTENDED_ARGS-} || exitstatus=$?
27+
FOCUS="${t}.*?\[Serial\]"
28+
TEST_REPORT_FILE_NAME=focus_serial2 os::test::extended::run -- -test.timeout 6h ${TEST_EXTENDED_ARGS-} || exitstatus=$?
2529

2630
os::test::extended::merge_junit
2731

0 commit comments

Comments
 (0)