forked from apache/cassandra
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add method to update consistency level in query options (apache#525)
Adds public API to update consistency level in query options. Adds a test and fixes name of BatchTest, so it is run in CI. Co-authored-by: sergio <sergio.bossa@gmail.com> (cherry picked from commit c71af49) (cherry picked from commit 95e69bd)
- Loading branch information
Showing
4 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...ry/STAR-2000/98-95e69bd916 Add method to update consistency level in query options (#525)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- a/test/unit/org/apache/cassandra/cql3/BatchTest.java | ||
+++ b/test/unit/org/apache/cassandra/cql3/BatchTest.java | ||
@@ -33,15 +33,11 @@ | ||
import org.junit.Ignore; | ||
import org.junit.Test; | ||
|
||
-import java.io.IOException; | ||
- | ||
-<<<<<<< | ||
import static org.junit.Assert.assertSame; | ||
|
||
-public class BatchTest | ||
-======= | ||
-public class BatchTests extends CQLTester | ||
->>>>>>> | ||
+import java.io.IOException; | ||
+ | ||
+public class BatchTest extends CQLTester | ||
{ | ||
private static EmbeddedCassandraService cassandra; | ||
|