Skip to content

Commit 77dcc3f

Browse files
committed
add missed --junitfile-hide-skipped-tests in the gotestsum calls
1 parent 5cecb16 commit 77dcc3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.buildkite/scripts/buildkite-integration-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ outputJSON="build/${fully_qualified_group_name}.integration.out.json"
5050
echo "~~~ Integration tests: ${GROUP_NAME}"
5151

5252
set +e
53-
TEST_BINARY_NAME="elastic-agent" AGENT_VERSION="${AGENT_VERSION}" SNAPSHOT=true gotestsum --no-color -f standard-quiet --junitfile "${outputXML}" --jsonfile "${outputJSON}" -- -tags integration -test.shuffle on -test.timeout 2h0m0s github.com/elastic/elastic-agent/testing/integration -v -args -integration.groups="${GROUP_NAME}" -integration.sudo="${TEST_SUDO}"
53+
TEST_BINARY_NAME="elastic-agent" AGENT_VERSION="${AGENT_VERSION}" SNAPSHOT=true gotestsum --no-color --junitfile-hide-skipped-tests -f standard-quiet --junitfile "${outputXML}" --jsonfile "${outputJSON}" -- -tags integration -test.shuffle on -test.timeout 2h0m0s github.com/elastic/elastic-agent/testing/integration -v -args -integration.groups="${GROUP_NAME}" -integration.sudo="${TEST_SUDO}"
5454
TESTS_EXIT_STATUS=$?
5555
set -e
5656

.buildkite/scripts/integration-tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ $TestsExitCode = 0
4848
try {
4949
Get-Ess-Stack -StackVersion $PACKAGE_VERSION
5050
Write-Output "~~~ Running integration test group: $GROUP_NAME as user: $env:USERNAME"
51-
& gotestsum --no-color -f standard-quiet --junitfile "${outputXML}" --jsonfile "${outputJSON}" -- -tags=integration -shuffle=on -timeout=2h0m0s "github.com/elastic/elastic-agent/testing/integration" -v -args "-integration.groups=$GROUP_NAME" "-integration.sudo=$TEST_SUDO"
51+
& gotestsum --no-color --junitfile-hide-skipped-tests -f standard-quiet --junitfile "${outputXML}" --jsonfile "${outputJSON}" -- -tags=integration -shuffle=on -timeout=2h0m0s "github.com/elastic/elastic-agent/testing/integration" -v -args "-integration.groups=$GROUP_NAME" "-integration.sudo=$TEST_SUDO"
5252
$TestsExitCode = $LASTEXITCODE
5353
} finally {
5454
ess_down

0 commit comments

Comments
 (0)