Skip to content

Commit 857f6ad

Browse files
committed
chore: Fix MuzzleEndTask test and collect buildSrc tests as well
1 parent 14b44c4 commit 857f6ad

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,12 +450,16 @@ test_published_artifacts:
450450
- source .gitlab/gitlab-utils.sh
451451
- gitlab_section_start "collect-reports" "Collecting reports"
452452
- .gitlab/collect_reports.sh --destination ./check_reports --move
453+
- .gitlab/collect_results.sh
453454
- gitlab_section_end "collect-reports"
454455
artifacts:
455456
when: always
456457
paths:
457458
- ./check_reports
459+
- ./results
458460
- '.gradle/daemon/*/*.out.log'
461+
reports:
462+
junit: results/*.xml
459463
retry:
460464
max: 2
461465
when:

buildSrc/src/test/kotlin/datadog/gradle/plugin/muzzle/tasks/MuzzleEndTaskTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class MuzzleEndTaskTest {
9090
assertNotNull(failedTestCase)
9191
val failureNode = failedTestCase.getElementsByTagName("failure").item(0) as Element
9292
assertEquals("Muzzle validation failed", failureNode.getAttribute("message"))
93-
assertEquals("java.lang.IllegalStateException: broken helper", failureNode.textContent)
93+
assertEquals("java.lang.IllegalStateException: something is broken", failureNode.textContent)
9494
}
9595

9696
@Test

0 commit comments

Comments
 (0)