9595d49452f50e2e40209a26ee2e5c265c8b714d,tests/python/pants_test/backend/jvm/tasks/test_jar_publish.py,JarPublishTest,test_publish_retry_fails_immediately_with_exception_on_refresh_failure,#JarPublishTest#,238

Before Change


      task.execute()

  def test_publish_retry_fails_immediately_with_exception_on_refresh_failure(self):
    targets = self._prepare_for_publishing()
    self.set_options(dryrun=False, scm_push_attempts=3, repos=self._get_repos())
    task = self.create_task(self.context(target_roots=targets[0:1]))

    self._prepare_mocks(task)
    task.scm.push = Mock()

After Change



  def test_publish_retry_fails_immediately_with_exception_on_refresh_failure(self):
    self.set_options(dryrun=False, scm_push_attempts=3, repos=self._get_repos())
    task = self.create_task(self.context(target_roots=self._create_nail_target()))

    self._prepare_mocks(task)
    task.scm.push = Mock()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: 9595d49452f50e2e40209a26ee2e5c265c8b714d
Time: 2018-11-05
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/tasks/test_jar_publish.py
Class Name: JarPublishTest
Method Name: test_publish_retry_fails_immediately_with_exception_on_refresh_failure


Project Name: pantsbuild/pants
Commit Name: 9595d49452f50e2e40209a26ee2e5c265c8b714d
Time: 2018-11-05
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/tasks/test_jar_publish.py
Class Name: JarPublishTest
Method Name: test_publish_retry_eventually_fails


Project Name: pantsbuild/pants
Commit Name: 9595d49452f50e2e40209a26ee2e5c265c8b714d
Time: 2018-11-05
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/tasks/test_jar_publish.py
Class Name: JarPublishTest
Method Name: test_publish_retry_works