Yelp/mrjob — Issue #331: Intermittent pooling test failure
Author: irskep
Created: 2012-01-07 21:09:40+00:00
State: open
Labels: Bug

This test started failing intermittently after merging the spot instance branch:

======================================================================
FAIL: test_dont_join_full_job_flow (test_emr.PoolingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sjohnson/dev/mrjob/tests/test_emr.py", line 2283, in test_dont_join_full_job_flow
job_class=MRWordCount)
File "/Users/sjohnson/dev/mrjob/tests/test_emr.py", line 1950, in assertJoins
self.assertEqual(actual_job_flow_id, job_flow_id)
AssertionError: 'j-MOCKJOBFLOW1' != 'j-MOCKJOBFLOW0'

----------------------------------------------------------------------
Ran 430 tests in 64.219s

The failure mode here is to create an extra job flow, which is not a big deal, but it would be nice to find out why this is happening.