when i run `./pants test tests/python/pants_test/j...
# development
a
when i run
./pants test tests/python/pants_test/java: -- -vs
locally (at master sha
8e340d8fceb6191e581cd10498742bbeea8a24ab
) on my linux laptop, i get one failure -- i haven't checked this on osx yet:
Copy code
==================== FAILURES ====================
                      TestNailgunIntegration.test_scala_repl_helloworld_input 
                     
                     self = <pants_test.java.test_nailgun_integration.TestNailgunIntegration testMethod=test_scala_repl_helloworld_input>
                     
                         def test_scala_repl_helloworld_input(self):
                           """Integration test to exercise possible closed-loop breakages in NailgunClient, NailgunSession
                             and InputReader.
                             """
                           target = 'examples/src/scala/org/pantsbuild/example/hello/welcome'
                           pants_run = self.run_pants(
                             command=['repl', target, '--quiet'],
                             stdin_data=(
                               'import org.pantsbuild.example.hello.welcome.WelcomeEverybody\n'
                               'println(WelcomeEverybody("World" :: Nil).head)\n'
                             ),
                             # Override the PANTS_CONFIG_FILES="pants.travis-ci.ini" used within TravisCI to enable
                             # nailgun usage for the purpose of exercising that stack in the integration test.
                             config={'DEFAULT': {'execution_strategy': 'nailgun'}}
                           )
                           self.assert_success(pants_run)
                     >     self.assertIn('Hello, World!', pants_run.stdout_data.splitlines())
                     E     AssertionError: u'Hello, World!' not found in [u'', u'Welcome to Scala 2.11.12 (OpenJDK 64-Bit Server VM, Java 1.8.0_181).', u'Type in expressions for evaluation. Or try :help.', u'', u'scala> import org.pantsbuild.example.hello.welcome.WelcomeEverybody', u'', u'scala> Hello, World!', u'', u'scala> :quit']
                     
                     .pants.d/pyprep/sources/e2f1f3fe11ec7f626d9eafcf10454f31895851d8/pants_test/java/test_nailgun_integration.py:27: AssertionError
                      generated xml file: /home/cosmicexplorer/tools/pants/.pants.d/test/pytest/57ea125b7d9be409b74c1a04584c4d44d63b50cb/junitxml/TEST-57ea125b7d9be409b74c1a04584c4d44d63b50cb.xml 
                     ====== 1 failed, 59 passed in 20.45 seconds ======
                     
                   tests/python/pants_test/java:nailgun_integration                                .....   FAILURE
when i run the pants command by hand, I see the same thing: the line is
scala> Hello, World!
instead of the test's expected
Hello, World!
. where's the first place i could look to figure out why this discrepancy occurs?