You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by sl...@apache.org on 2014/11/25 11:05:56 UTC

[1/2] cassandra git commit: Fix SSTableImportTest

Repository: cassandra
Updated Branches:
  refs/heads/trunk 395720c37 -> 7eea53e5d


Fix SSTableImportTest

patch by blerer; reviewed by azotcsit for CASSANDRA-8181


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

Branch: refs/heads/trunk
Commit: e0dff2b808789c4c2a0751d00eff3e3d066c87dc
Parents: 2943684
Author: Benjamin Lerer <be...@datastax.com>
Authored: Tue Nov 25 11:03:44 2014 +0100
Committer: Sylvain Lebresne <sy...@datastax.com>
Committed: Tue Nov 25 11:04:54 2014 +0100

----------------------------------------------------------------------
 test/unit/org/apache/cassandra/tools/SSTableImportTest.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/e0dff2b8/test/unit/org/apache/cassandra/tools/SSTableImportTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/tools/SSTableImportTest.java b/test/unit/org/apache/cassandra/tools/SSTableImportTest.java
index 38e5914..b0f4c0a 100644
--- a/test/unit/org/apache/cassandra/tools/SSTableImportTest.java
+++ b/test/unit/org/apache/cassandra/tools/SSTableImportTest.java
@@ -156,6 +156,7 @@ public class SSTableImportTest extends SchemaLoader
         // Import JSON to temp SSTable file
         String jsonUrl = resourcePath("SimpleCF.json");
         File tempSS = tempSSTableFile("Keyspace1", "AsciiKeys");
+        System.setProperty("skip.key.validator", "false");
         new SSTableImport(true).importJson(jsonUrl, "Keyspace1", "AsciiKeys", tempSS.getPath());
 
         // Verify results


[2/2] cassandra git commit: Merge branch 'cassandra-2.1' into trunk

Posted by sl...@apache.org.
Merge branch 'cassandra-2.1' into trunk

Conflicts:
	test/unit/org/apache/cassandra/tools/SSTableImportTest.java


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

Branch: refs/heads/trunk
Commit: 7eea53e5d164fa48f9ddd97ecc92361d3d522ce4
Parents: 395720c e0dff2b
Author: Sylvain Lebresne <sy...@datastax.com>
Authored: Tue Nov 25 11:05:48 2014 +0100
Committer: Sylvain Lebresne <sy...@datastax.com>
Committed: Tue Nov 25 11:05:48 2014 +0100

----------------------------------------------------------------------
 test/unit/org/apache/cassandra/tools/SSTableImportTest.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/7eea53e5/test/unit/org/apache/cassandra/tools/SSTableImportTest.java
----------------------------------------------------------------------
diff --cc test/unit/org/apache/cassandra/tools/SSTableImportTest.java
index e2cecb2,b0f4c0a..eb5fb28
--- a/test/unit/org/apache/cassandra/tools/SSTableImportTest.java
+++ b/test/unit/org/apache/cassandra/tools/SSTableImportTest.java
@@@ -187,8 -155,9 +187,9 @@@ public class SSTableImportTes
      {
          // Import JSON to temp SSTable file
          String jsonUrl = resourcePath("SimpleCF.json");
 -        File tempSS = tempSSTableFile("Keyspace1", "AsciiKeys");
 +        File tempSS = tempSSTableFile(KEYSPACE1, "AsciiKeys");
+         System.setProperty("skip.key.validator", "false");
 -        new SSTableImport(true).importJson(jsonUrl, "Keyspace1", "AsciiKeys", tempSS.getPath());
 +        new SSTableImport(true).importJson(jsonUrl, KEYSPACE1, "AsciiKeys", tempSS.getPath());
  
          // Verify results
          SSTableReader reader = SSTableReader.open(Descriptor.fromFilename(tempSS.getPath()));