Skip to content

Commit 8f6fe34

Browse files
Trevor159MongoDB Bot
authored andcommitted
SERVER-100433 fix case of failed unittests not being archived (#31987)
GitOrigin-RevId: 8bd47b0
1 parent fc98392 commit 8f6fe34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

evergreen/failed_unittests_gather.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ cd src
66
set -eou pipefail
77

88
# Only run on unit test tasks so we don't target mongod binaries from cores.
9-
if [ "${task_name}" != "run_unittests" ] && [ "${task_name}" != "run_dbtest" ] \
9+
if [ "${task_name}" != "run_dbtest" ] \
1010
&& [[ ${task_name} != integration_tests* ]] \
11-
&& [[ "${task_name}" != compile_and_run_unittests_* ]]; then
11+
&& [[ "${task_name}" != *run_unittests* ]]; then
1212
echo "Not gathering failed unittests binaries as this is not a unittest task: ${task_name}"
1313
exit 0
1414
fi

0 commit comments

Comments
 (0)