Repository: ambari Updated Branches: refs/heads/trunk ec74a4b14 -> 0982aa2e3
AMBARI-5751. Ambari upgrade to Ambari-1.6.0 from Ambari-1.5.1 logs PSQLException. Unit test fix. (mpapirkovskyy) (cherry picked from commit b424b21) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0982aa2e Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0982aa2e Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0982aa2e Branch: refs/heads/trunk Commit: 0982aa2e309ac38c8b9215492ee0534d911082bd Parents: ec74a4b Author: Myroslav Papirkovskyy <[email protected]> Authored: Thu May 15 21:34:44 2014 +0300 Committer: Myroslav Papirkovskyy <[email protected]> Committed: Fri May 16 16:32:49 2014 +0300 ---------------------------------------------------------------------- .../org/apache/ambari/server/upgrade/UpgradeCatalog160Test.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/0982aa2e/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog160Test.java ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog160Test.java b/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog160Test.java index c02b109..e0c97d2 100644 --- a/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog160Test.java +++ b/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog160Test.java @@ -148,9 +148,7 @@ public class UpgradeCatalog160Test { capture(restartRequiredColumnCapture)); dbAccessor.addFKConstraint("hostgroup_configuration", "FK_hg_config_blueprint_name", - "blueprint_name", "hostgroup", "blueprint_name", true); - dbAccessor.addFKConstraint("hostgroup_configuration", "FK_hg_config_hostgroup_name", - "hostgroup_name", "hostgroup", "name", true); + new String[]{"blueprint_name", "hostgroup_name"}, "hostgroup", new String[]{"blueprint_name", "name"}, true); } private void setViewEntityConfigExpectations(DBAccessor dbAccessor,
