bereng commented on a change in pull request #870:
URL: https://github.com/apache/cassandra/pull/870#discussion_r568334795



##########
File path: 
test/unit/org/apache/cassandra/cql3/validation/operations/CreateTest.java
##########
@@ -365,6 +372,31 @@ public void testKeyspace() throws Throwable
         execute("DROP KEYSPACE testXYZ");
     }
 
+    /**
+     *  Test a warning is thrown on create keyspace with a RF > number of 
nodes.
+     */
+    @Test
+    public void testCreateKeyspaceRFgtNodesWarns() throws Throwable

Review comment:
       Ok found it. Without the network the test sees 0 nodes and that has been 
short circuited. With the network we see the node and then the test passes. As 
the other tests don't rely on the number of nodes to generate a warning they 
pass without the network. Also I was using `test` instead of `testsome` ops!




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to