Add expected failure so a JUnit test fails

2 jobs for test-junit-reports in 1 minute and 42 seconds
latest
Status Job ID Name Coverage
  Build
passed #352876492
build

00:00:44

 
  Test
failed #352876493
test

00:00:58

 
Name Stage Failure
failed
test Test

* Get more help at https://help.gradle.org

BUILD FAILED in 21s
3 actionable tasks: 2 executed, 1 up-to-date
Uploading artifacts...
build/test-results/test/TEST-*.xml: found 1 matching files
Uploading artifacts to coordinator... ok
id=352876493 responseStatus=201 Created token=M_EGFyUT
ERROR: Job failed: exit code 1