kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 0091cee233b3f8ac3448095419cfda987aaa0403f1bb967d6eeb6fa020db1b77 |
|---|---|
| Author | Olivier Michallat <olim7t@users.noreply.github.com> · 2014-10-24 17:13 +02:00 |
| Committer | Olivier Michallat <olim7t@users.noreply.github.com> · 2014-10-24 17:13 +02:00 |
| Parents | f3d4bfbe8473, a2c74e8c3319 |
1 file changed
modified driver-core/src/test/java/com/datastax/driver/core/policies/DCAwareRoundRobinPolicyTest.java +2 −2
| @@ -90,7 +90,7 @@ | ||
| 90 | 90 | Host host1 = TestUtils.findHost(cluster, 1); |
| 91 | 91 | Host host2 = TestUtils.findHost(cluster, 2); |
| 92 | 92 | |
| 93 | - assertThat(policy.initHosts).containsExactly(host1, host2); | |
| 93 | + assertThat(policy.initHosts).containsOnly(host1, host2); | |
| 94 | 94 | |
| 95 | 95 | assertThat(logs.get()) |
| 96 | 96 | .contains("Some contact points don't match local data center"); |
| @@ -148,7 +148,7 @@ | ||
| 148 | 148 | |
| 149 | 149 | assertEquals(policy.getLocalDc(), providedLocalDc); |
| 150 | 150 | |
| 151 | - assertThat(policy.initHosts).containsExactly(host1, host2); | |
| 151 | + assertThat(policy.initHosts).containsOnly(host1, host2); | |
| 152 | 152 | |
| 153 | 153 | assertThat(logs.get()) |
| 154 | 154 | .contains("Some contact points don't match local data center"); |