aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wfar...@apache.org
Subject git commit: Use the DB test module in DbSchedulerStoreTest.
Date Sat, 26 Jul 2014 16:55:37 GMT
Repository: incubator-aurora
Updated Branches:
  refs/heads/master 3d976ab4c -> c97ab6327


Use the DB test module in DbSchedulerStoreTest.

Bugs closed: AURORA-605

Reviewed at https://reviews.apache.org/r/23961/


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

Branch: refs/heads/master
Commit: c97ab632750e6e4abc685c9bfd3eea11354dd1e7
Parents: 3d976ab
Author: Bill Farner <wfarner@apache.org>
Authored: Sat Jul 26 09:39:50 2014 -0700
Committer: Bill Farner <wfarner@apache.org>
Committed: Sat Jul 26 09:39:50 2014 -0700

----------------------------------------------------------------------
 .../apache/aurora/scheduler/storage/db/DbSchedulerStoreTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/c97ab632/src/test/java/org/apache/aurora/scheduler/storage/db/DbSchedulerStoreTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/aurora/scheduler/storage/db/DbSchedulerStoreTest.java
b/src/test/java/org/apache/aurora/scheduler/storage/db/DbSchedulerStoreTest.java
index 219605e..64e2fee 100644
--- a/src/test/java/org/apache/aurora/scheduler/storage/db/DbSchedulerStoreTest.java
+++ b/src/test/java/org/apache/aurora/scheduler/storage/db/DbSchedulerStoreTest.java
@@ -36,7 +36,7 @@ public class DbSchedulerStoreTest {
 
   @Before
   public void setUp() throws IOException {
-    Injector injector = Guice.createInjector(new DbModule(Bindings.KeyFactory.PLAIN));
+    Injector injector = Guice.createInjector(DbModule.testModule(Bindings.KeyFactory.PLAIN));
     storage = injector.getInstance(Storage.class);
     storage.prepare();
   }


Mime
View raw message