Skip to content

Commit

Permalink
Set tests as hermetic
Browse files Browse the repository at this point in the history
I'm not able to reproduce the failure locally. It appears the test is failing though because it's picking up the global interpreter constraint which is causing a failure? We'll see if this works.
  • Loading branch information
Eric-Arellano committed Feb 27, 2019
1 parent 9c754dc commit 76649e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
class PytestRunIntegrationTest(PantsRunIntegrationTest):
testproject = 'testprojects/src/python/interpreter_selection'

@classmethod
def hermetic(cls):
return True

def test_pytest_run_timeout_succeeds(self):
pants_run = self.run_pants(['clean-all',
'test.pytest',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
class PythonRunIntegrationTest(PantsRunIntegrationTest):
testproject = 'testprojects/src/python/interpreter_selection'

@classmethod
def hermetic(cls):
return True

@skip_unless_python3
@ensure_daemon
def test_run_3(self):
Expand Down

0 comments on commit 76649e6

Please sign in to comment.