tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeag...@apache.org
Subject tez git commit: TEZ-3896. TestATSV15HistoryLoggingService#testNonSessionDomains is failing (Jason Lowe via jeagles)
Date Fri, 16 Feb 2018 19:58:23 GMT
Repository: tez
Updated Branches:
  refs/heads/master 022df7218 -> ab8b45eda


TEZ-3896. TestATSV15HistoryLoggingService#testNonSessionDomains is failing (Jason Lowe via
jeagles)


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

Branch: refs/heads/master
Commit: ab8b45eda1e8355125a56787e665db79aeec1f3c
Parents: 022df72
Author: Jonathan Eagles <jeagles@yahoo-inc.com>
Authored: Fri Feb 16 13:57:42 2018 -0600
Committer: Jonathan Eagles <jeagles@yahoo-inc.com>
Committed: Fri Feb 16 13:57:42 2018 -0600

----------------------------------------------------------------------
 .../dag/history/logging/ats/TestATSV15HistoryLoggingService.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/ab8b45ed/tez-plugins/tez-yarn-timeline-history-with-fs/src/test/java/org/apache/tez/dag/history/logging/ats/TestATSV15HistoryLoggingService.java
----------------------------------------------------------------------
diff --git a/tez-plugins/tez-yarn-timeline-history-with-fs/src/test/java/org/apache/tez/dag/history/logging/ats/TestATSV15HistoryLoggingService.java
b/tez-plugins/tez-yarn-timeline-history-with-fs/src/test/java/org/apache/tez/dag/history/logging/ats/TestATSV15HistoryLoggingService.java
index 96c3c80..65ce91a 100644
--- a/tez-plugins/tez-yarn-timeline-history-with-fs/src/test/java/org/apache/tez/dag/history/logging/ats/TestATSV15HistoryLoggingService.java
+++ b/tez-plugins/tez-yarn-timeline-history-with-fs/src/test/java/org/apache/tez/dag/history/logging/ats/TestATSV15HistoryLoggingService.java
@@ -228,7 +228,8 @@ public class TestATSV15HistoryLoggingService {
       .setupSessionDAGACLs((Configuration)any(), eq(appId), eq("0"), (DAGAccessControls)any());
 
     // All calls made with session domain id.
-    verify(historyACLPolicyManager, times(5)).updateTimelineEntityDomain(any(), eq("session-id"));
+    // NOTE: Expect 6 invocations for 5 history events because DAG_SUBMITTED becomes two
separate timeline events.
+    verify(historyACLPolicyManager, times(6)).updateTimelineEntityDomain(any(), eq("session-id"));
     assertTrue(entityLog.size() > 0);
 
     service.stop();


Mime
View raw message