kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 224fbffa6ee3bc28649e96a4b68a05f5a72c02c32ac68eb913c63ff1910d93db |
|---|---|
| Author | Andrew Tolbert <andrew.tolbert@datastax.com> · 2015-09-18 12:25 -05:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2015-10-08 10:32 +02:00 |
| Parents | b75301e0042a |
1 file changed
modified driver-core/src/test/java/com/datastax/driver/core/SchemaRefreshDebouncerTest.java +2 −1
| @@ -16,6 +16,7 @@ | ||
| 16 | 16 | package com.datastax.driver.core; |
| 17 | 17 | |
| 18 | 18 | import java.util.Collection; |
| 19 | +import java.util.Collections; | |
| 19 | 20 | |
| 20 | 21 | import org.mockito.ArgumentCaptor; |
| 21 | 22 | import org.testng.SkipException; |
| @@ -248,7 +249,7 @@ | ||
| 248 | 249 | .doesNotHaveComment(comment); |
| 249 | 250 | |
| 250 | 251 | // 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()); | |
| 252 | 253 | |
| 253 | 254 | KeyspaceMetadata ksm = cluster2.getMetadata().getKeyspace(keyspace); |
| 254 | 255 | assertThat(ksm).isNotNull(); |