Java assertion failures triggered by tests
------------------------------------------

                 Key: MAPREDUCE-1093
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1093
             Project: Hadoop Map/Reduce
          Issue Type: Test
            Reporter: Eli Collins


While running the tests with java asserts enabled the following two asserts 
fired:

{code}
testStateRefresh in TestQueueManager:
try{
        Job job = submitSleepJob(10, 2, 10, 10, true,null, "default" );
        assert(job.isSuccessful());         <==========
}catch(Exception e){
{code}

{code}
runJobExceedingMemoryLimit in TestTaskTrackerMemoryManager:
for (TaskCompletionEvent tce : taskComplEvents) {
      // Every task HAS to fail
      assert (tce.getTaskStatus() == TaskCompletionEvent.Status.TIPFAILED || 
tce     <==========
          .getTaskStatus() == TaskCompletionEvent.Status.FAILED);
{code}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to