cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yu...@apache.org
Subject [2/3] cassandra git commit: Do not reference HintsService from test
Date Thu, 31 Dec 2015 17:14:19 GMT
Do not reference HintsService from test

patch by yukim; reviewed by snazy for CASSANDRA-10950


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

Branch: refs/heads/trunk
Commit: 7f6d039f9b81d681a3d3975335ec32b8b3cef934
Parents: 3d78939
Author: Yuki Morishita <yukim@apache.org>
Authored: Tue Dec 29 11:24:19 2015 -0600
Committer: Yuki Morishita <yukim@apache.org>
Committed: Thu Dec 31 11:13:02 2015 -0600

----------------------------------------------------------------------
 test/unit/org/apache/cassandra/hints/HintsCatalogTest.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/7f6d039f/test/unit/org/apache/cassandra/hints/HintsCatalogTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/hints/HintsCatalogTest.java b/test/unit/org/apache/cassandra/hints/HintsCatalogTest.java
index 73fd040..51b6aa3 100644
--- a/test/unit/org/apache/cassandra/hints/HintsCatalogTest.java
+++ b/test/unit/org/apache/cassandra/hints/HintsCatalogTest.java
@@ -22,6 +22,7 @@ import java.io.IOException;
 import java.nio.file.Files;
 import java.util.*;
 
+import com.google.common.collect.ImmutableMap;
 import org.junit.Test;
 
 import static junit.framework.Assert.*;
@@ -62,7 +63,7 @@ public class HintsCatalogTest
         writeDescriptor(directory, descriptor3);
         writeDescriptor(directory, descriptor4);
 
-        HintsCatalog catalog = HintsCatalog.load(directory, HintsService.EMPTY_PARAMS);
+        HintsCatalog catalog = HintsCatalog.load(directory, ImmutableMap.of());
         assertEquals(2, catalog.stores().count());
 
         HintsStore store1 = catalog.get(hostId1);


Mime
View raw message