tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject tez git commit: TEZ-3583. Tez UI: UTs are flaky because of a dependency issue (sree)
Date Thu, 19 Jan 2017 11:18:00 GMT
Repository: tez
Updated Branches:
  refs/heads/master e2a1a1f54 -> a5d141dac


TEZ-3583. Tez UI: UTs are flaky because of a dependency issue (sree)


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

Branch: refs/heads/master
Commit: a5d141daca2f9bbb01c0c5ef112d9ac042744270
Parents: e2a1a1f
Author: Sreenath Somarajapuram <sree@apache.org>
Authored: Thu Jan 19 16:39:53 2017 +0530
Committer: Sreenath Somarajapuram <sree@apache.org>
Committed: Thu Jan 19 16:39:53 2017 +0530

----------------------------------------------------------------------
 CHANGES.txt                                                   | 1 +
 tez-ui/src/main/webapp/tests/unit/routes/dag/tasks-test.js    | 2 +-
 tez-ui/src/main/webapp/tests/unit/routes/vertex/tasks-test.js | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/a5d141da/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 0326e0b..c0b6fca 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -171,6 +171,7 @@ ALL CHANGES:
   TEZ-3496. Tez UI: Optimize display of all tasks table
   TEZ-3571. Tez UI: Display a Total Timeline View for Hive Queries
   TEZ-2712. Tez UI: Display the vertex description in the tooltip of vertex in DAG view UI
+  TEZ-3583. Tez UI: UTs are flaky because of a dependency issue
 
 Release 0.8.5: Unreleased
 

http://git-wip-us.apache.org/repos/asf/tez/blob/a5d141da/tez-ui/src/main/webapp/tests/unit/routes/dag/tasks-test.js
----------------------------------------------------------------------
diff --git a/tez-ui/src/main/webapp/tests/unit/routes/dag/tasks-test.js b/tez-ui/src/main/webapp/tests/unit/routes/dag/tasks-test.js
index ec0ad33..887246d 100644
--- a/tez-ui/src/main/webapp/tests/unit/routes/dag/tasks-test.js
+++ b/tez-ui/src/main/webapp/tests/unit/routes/dag/tasks-test.js
@@ -74,7 +74,7 @@ test('logCellClicked test', function(assert) {
   // Download false
   route.actions.logCellClicked.call(route, testID, false).then(function (virtualAnchorInstance)
{
     assert.equal(virtualAnchorInstance.href, testLogURL);
-    assert.notOk(virtualAnchorInstance.hasOwnProperty("download"));
+    assert.notOk(virtualAnchorInstance.download);
   });
 
   // Download true

http://git-wip-us.apache.org/repos/asf/tez/blob/a5d141da/tez-ui/src/main/webapp/tests/unit/routes/vertex/tasks-test.js
----------------------------------------------------------------------
diff --git a/tez-ui/src/main/webapp/tests/unit/routes/vertex/tasks-test.js b/tez-ui/src/main/webapp/tests/unit/routes/vertex/tasks-test.js
index 382309e..736ecf2 100644
--- a/tez-ui/src/main/webapp/tests/unit/routes/vertex/tasks-test.js
+++ b/tez-ui/src/main/webapp/tests/unit/routes/vertex/tasks-test.js
@@ -77,7 +77,7 @@ test('logCellClicked test', function(assert) {
   // Download false
   route.actions.logCellClicked.call(route, testID, false).then(function (virtualAnchorInstance)
{
     assert.equal(virtualAnchorInstance.href, testLogURL);
-    assert.notOk(virtualAnchorInstance.hasOwnProperty("download"));
+    assert.notOk(virtualAnchorInstance.download);
   });
 
   // Download true


Mime
View raw message