Skip to content

Commit

Permalink
Bump to latest junit-runner (#7830)
Browse files Browse the repository at this point in the history
Bump to latest junit-runner, including changes from #7799.
  • Loading branch information
stuhood authored Jun 2, 2019
1 parent d21bacc commit 306820c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/python/pants/backend/jvm/subsystems/junit.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class JUnit(JvmToolMixin, InjectablesMixin, Subsystem):
RUNNER_MAIN = 'org.pantsbuild.tools.junit.ConsoleRunner'

LIBRARY_JAR = JarDependency(org='junit', name='junit', rev=LIBRARY_REV)
_RUNNER_JAR = JarDependency(org='org.pantsbuild', name='junit-runner', rev='1.0.24')
_RUNNER_JAR = JarDependency(org='org.pantsbuild', name='junit-runner', rev='1.0.26')

@classmethod
def register_options(cls, register):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def test_junit_test_early_exit(self):
'testprojects/src/java/org/pantsbuild/testproject/junit/earlyexit:tests'])
self.assert_failure(pants_run)
self.assertIn('java.lang.UnknownError: Abnormal VM exit - test crashed.', pants_run.stdout_data)
self.assertIn('Tests run: 0, Failures: 1', pants_run.stdout_data)
self.assertIn('Tests run: 1, Failures: 1', pants_run.stdout_data)
self.assertIn('FATAL: VM exiting unexpectedly.', pants_run.stdout_data)

def test_junit_test_target_cwd(self):
Expand Down

0 comments on commit 306820c

Please sign in to comment.