ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathanhur...@apache.org
Subject [52/53] [abbrv] ambari git commit: AMBARI-20875. Removing A Service Causes DB Verification To Produce Warnings. Fix (dlysnichenko)
Date Wed, 03 May 2017 16:47:35 GMT
AMBARI-20875. Removing A Service Causes DB Verification To Produce Warnings. Fix (dlysnichenko)


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

Branch: refs/heads/branch-feature-AMBARI-12556
Commit: 8d6a9cc030fb908a002121267ce59ee419ac4b40
Parents: 35c90c9
Author: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Authored: Wed May 3 17:57:39 2017 +0300
Committer: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Committed: Wed May 3 17:59:02 2017 +0300

----------------------------------------------------------------------
 .../org/apache/ambari/server/upgrade/UpgradeCatalog252Test.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/8d6a9cc0/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog252Test.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog252Test.java
b/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog252Test.java
index 484ca5b..0a53566 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog252Test.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog252Test.java
@@ -160,7 +160,7 @@ public class UpgradeCatalog252Test {
 
     DBColumnInfo captured = hrcBackgroundColumnCapture.getValue();
     Assert.assertEquals(UpgradeCatalog252.SERVICE_DELETED_COLUMN, captured.getName());
-    Assert.assertEquals(false, captured.getDefaultValue());
-    Assert.assertEquals(Boolean.class, captured.getType());
+    Assert.assertEquals(0, captured.getDefaultValue());
+    Assert.assertEquals(Short.class, captured.getType());
   }
 }


Mime
View raw message