3d7c03ab5a7fcd2459128d9cc849031b28b3f350,tests/python/pants_test/backend/jvm/tasks/test_binary_create_integration.py,BinaryCreateIntegrationTest,test_deploy_excludes,#BinaryCreateIntegrationTest#,59

Before Change


    self.assertEquals(java_retcode, 1)
    self.assertIn("java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableSortedSet", java_stderr)

    java_run = subprocess.Popen([
      "java", "-cp",
      jar_filename + ":" + ".pants.d/ivy/jars/com.google.guava/guava/bundles/guava-18.0.jar",
      "org.pantsbuild.testproject.deployexcludes.DeployExcludesMain"],
      stdout=subprocess.PIPE)
    java_retcode = java_run.wait()
    java_stdout = java_run.stdout.read()
    self.assertEquals(java_retcode, 0)
    self.assertIn("DeployExcludes Hello World", java_stdout)

After Change


                                    "com/google/common/collect/ImmutableSortedSet")

      // But adding back the deploy_excluded symbols should result in a clean run.
      classpath = [jar_filename,
                   os.path.join(pants_run.workdir,
                                "ivy/jars/com.google.guava/guava/bundles/guava-18.0.jar")]

      self.run_java(java_args=["-cp", os.pathsep.join(classpath),
                               "org.pantsbuild.testproject.deployexcludes.DeployExcludesMain"],
                    expected_output="DeployExcludes Hello World")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: pantsbuild/pants
Commit Name: 3d7c03ab5a7fcd2459128d9cc849031b28b3f350
Time: 2015-10-12
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/tasks/test_binary_create_integration.py
Class Name: BinaryCreateIntegrationTest
Method Name: test_deploy_excludes


Project Name: studioml/studio
Commit Name: 1147d0a4c7a196b9a5aadb445542518df2f2fa02
Time: 2017-09-30
Author: peter.zhokhov@sentient.ai
File Name: studio/local_worker.py
Class Name:
Method Name: worker_loop


Project Name: pantsbuild/pants
Commit Name: 3d7c03ab5a7fcd2459128d9cc849031b28b3f350
Time: 2015-10-12
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/tasks/test_binary_create_integration.py
Class Name: BinaryCreateIntegrationTest
Method Name: test_deploy_excludes


Project Name: idaholab/raven
Commit Name: 559e68fcac66c449772be2b21af92f502df70e5f
Time: 2019-11-07
Author: paul.talbot@inl.gov
File Name: scripts/TestHarness/testers/CrowPython.py
Class Name: CrowPython
Method Name: CrowPython_1