Elffuss BraidHub

kikocis/java-driver public

Verify on empty list signature.
Changeset224fbffa6ee3bc28649e96a4b68a05f5a72c02c32ac68eb913c63ff1910d93db
AuthorAndrew Tolbert <andrew.tolbert@datastax.com> · 2015-09-18 12:25 -05:00
Committerolim7t <omichallat+github@gmail.com> · 2015-10-08 10:32 +02:00
Parentsb75301e0042a

Browse the files at this changeset

1 file changed

modified driver-core/src/test/java/com/datastax/driver/core/SchemaRefreshDebouncerTest.java +2 −1
@@ -16,6 +16,7 @@
1616 package com.datastax.driver.core;
1717
1818 import java.util.Collection;
19+import java.util.Collections;
1920
2021 import org.mockito.ArgumentCaptor;
2122 import org.testng.SkipException;
@@ -248,7 +249,7 @@
248249 .doesNotHaveComment(comment);
249250
250251 // Verify a refresh of the table was executed, but only once.
251- verify(controlConnection, times(1)).refreshSchema(TABLE, keyspace, table, null);
252+ verify(controlConnection, times(1)).refreshSchema(TABLE, keyspace, table, Collections.<String>emptyList());
252253
253254 KeyspaceMetadata ksm = cluster2.getMetadata().getKeyspace(keyspace);
254255 assertThat(ksm).isNotNull();