ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smoha...@apache.org
Subject git commit: AMBARI-6623. Fix unit tests that are broken after AMBARI-6533 (Alejandro Fernandez via smohanty)
Date Fri, 25 Jul 2014 18:20:14 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 05549b273 -> d4b0b2f6f


AMBARI-6623. Fix unit tests that are broken after AMBARI-6533 (Alejandro Fernandez via smohanty)


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

Branch: refs/heads/trunk
Commit: d4b0b2f6f4e3119abcae40207ad5991f1e7c9fc0
Parents: 05549b2
Author: Sumit Mohanty <smohanty@hortonworks.com>
Authored: Fri Jul 25 11:19:57 2014 -0700
Committer: Sumit Mohanty <smohanty@hortonworks.com>
Committed: Fri Jul 25 11:19:57 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/d4b0b2f6/ambari-server/src/test/java/org/apache/ambari/server/orm/InMemoryDefaultTestModule.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/orm/InMemoryDefaultTestModule.java
b/ambari-server/src/test/java/org/apache/ambari/server/orm/InMemoryDefaultTestModule.java
index 4314538..c9a392d 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/orm/InMemoryDefaultTestModule.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/orm/InMemoryDefaultTestModule.java
@@ -33,9 +33,9 @@ public class InMemoryDefaultTestModule extends AbstractModule {
   protected void configure() {
     properties.setProperty(Configuration.SERVER_PERSISTENCE_TYPE_KEY, "in-memory");
     properties.setProperty(Configuration.METADETA_DIR_PATH,
-        "ambari-server/src/test/resources/stacks");
+        "src/test/resources/stacks");
     properties.setProperty(Configuration.SERVER_VERSION_FILE,
-            "ambari-server/target/version");
+            "target/version");
     properties.setProperty(Configuration.OS_VERSION_KEY,
         "centos5");
     try {


Mime
View raw message