tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zjf...@apache.org
Subject tez git commit: TEZ-2511. addendum patch for fix compilation failure (zjffdu)
Date Mon, 08 Jun 2015 11:39:16 GMT
Repository: tez
Updated Branches:
  refs/heads/branch-0.6 23d3cacf7 -> b7cc8e8d6


TEZ-2511. addendum patch for fix compilation failure (zjffdu)


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/b7cc8e8d
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/b7cc8e8d
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/b7cc8e8d

Branch: refs/heads/branch-0.6
Commit: b7cc8e8d6e5bfdebc9e11589ee7fd543615526ea
Parents: 23d3cac
Author: Jeff Zhang <zjffdu@apache.org>
Authored: Mon Jun 8 19:38:38 2015 +0800
Committer: Jeff Zhang <zjffdu@apache.org>
Committed: Mon Jun 8 19:38:38 2015 +0800

----------------------------------------------------------------------
 .../tez/dag/app/rm/TestTaskSchedulerEventHandler.java     | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/b7cc8e8d/tez-dag/src/test/java/org/apache/tez/dag/app/rm/TestTaskSchedulerEventHandler.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/test/java/org/apache/tez/dag/app/rm/TestTaskSchedulerEventHandler.java
b/tez-dag/src/test/java/org/apache/tez/dag/app/rm/TestTaskSchedulerEventHandler.java
index 52dab7d..99fb90c 100644
--- a/tez-dag/src/test/java/org/apache/tez/dag/app/rm/TestTaskSchedulerEventHandler.java
+++ b/tez-dag/src/test/java/org/apache/tez/dag/app/rm/TestTaskSchedulerEventHandler.java
@@ -272,16 +272,16 @@ public class TestTaskSchedulerEventHandler {
     // ContainerExitStatus.KILLED_EXCEEDED_PMEM is only available after hadoop-2.5
     when(mockStatus.getExitStatus()).thenReturn(-104);
     schedulerHandler.containerCompleted(mockTask, mockStatus);
-    assertEquals(1, mockEventHandler.events.size());
+    Assert.assertEquals(1, mockEventHandler.events.size());
     Event event = mockEventHandler.events.get(0);
-    assertEquals(AMContainerEventType.C_COMPLETED, event.getType());
+    Assert.assertEquals(AMContainerEventType.C_COMPLETED, event.getType());
     AMContainerEventCompleted completedEvent = (AMContainerEventCompleted) event;
-    assertEquals(mockCId, completedEvent.getContainerId());
-    assertEquals("Container failed, exitCode=-104. Exceeded Physical Memory",
+    Assert.assertEquals(mockCId, completedEvent.getContainerId());
+    Assert.assertEquals("Container failed, exitCode=-104. Exceeded Physical Memory",
         completedEvent.getDiagnostics());
     Assert.assertFalse(completedEvent.isPreempted());
     Assert.assertFalse(completedEvent.isDiskFailed());
-    assertEquals(TaskAttemptTerminationCause.CONTAINER_EXITED,
+    Assert.assertEquals(TaskAttemptTerminationCause.CONTAINER_EXITED,
         completedEvent.getTerminationCause());
 
     schedulerHandler.stop();


Mime
View raw message