Elffuss BraidHub

kikocis/java-driver public

Fix typo in method name.
Changesetf6f0073f252cf9917dbccbab3037eacdbe75acf84ef22fa9b708826ff1e32663
AuthorAlexandre Dutra <alexandre.dutra@datastax.com> · 2016-01-17 23:39 +01:00
CommitterAlexandre Dutra <alexandre.dutra@datastax.com> · 2016-01-17 23:39 +01:00
Parentsc5a41f8457e0

Browse the files at this changeset

7 files changed

modified driver-core/src/test/java/com/datastax/driver/core/CCMAccess.java +1 −1
@@ -180,7 +180,7 @@
180180 *
181181 * @param n the node number (starting from 1).
182182 */
183- void decommision(int n);
183+ void decommission(int n);
184184
185185 /**
186186 * Updates the {@code nth} host's config file in the CCM cluster.
modified driver-core/src/test/java/com/datastax/driver/core/CCMBridge.java +1 −1
@@ -455,7 +455,7 @@
455455 }
456456
457457 @Override
458- public void decommision(int n) {
458+ public void decommission(int n) {
459459 logger.debug(String.format("Decommissioning: node %s (%s%s:%s) from %s", n, TestUtils.IP_PREFIX, n, binaryPort, this));
460460 execute(CCM_COMMAND + " node%d decommission", n);
461461 }
modified driver-core/src/test/java/com/datastax/driver/core/CCMCache.java +2 −2
@@ -170,8 +170,8 @@
170170 }
171171
172172 @Override
173- public void decommision(int n) {
174- ccm.decommision(n);
173+ public void decommission(int n) {
174+ ccm.decommission(n);
175175 }
176176
177177 @Override
modified driver-core/src/test/java/com/datastax/driver/core/CCMTestsSupport.java +1 −1
@@ -179,7 +179,7 @@
179179 }
180180
181181 @Override
182- public void decommision(int n) {
182+ public void decommission(int n) {
183183 throw new UnsupportedOperationException("This CCM cluster is read-only");
184184 }
185185
modified driver-core/src/test/java/com/datastax/driver/core/ControlConnectionTest.java +1 −1
@@ -144,7 +144,7 @@
144144 assertThat(controlHost).isEqualTo(firstHost.getAddress());
145145
146146 // Decommission the node.
147- ccm.decommision(1);
147+ ccm.decommission(1);
148148
149149 // Ensure that the new control connection is not null and it's host is not equal to the decommissioned node.
150150 Host newHost = cluster.manager.controlConnection.connectedHost();
modified driver-core/src/test/java/com/datastax/driver/core/MetadataTest.java +1 −1
@@ -73,7 +73,7 @@
7373 Host host3 = TestUtils.findHost(cluster, 3);
7474 Token host3Token = tokensForHost.get(host3);
7575
76- ccm.decommision(3);
76+ ccm.decommission(3);
7777 ccm.remove(3);
7878
7979 // Ensure that the token ranges were updated, there should only be 2 ranges now.
modified driver-core/src/test/java/com/datastax/driver/core/StateListenerTest.java +1 −1
@@ -51,7 +51,7 @@
5151 listener.waitForEvent();
5252
5353 listener.setExpectedEvent(REMOVE);
54- ccm.decommision(2);
54+ ccm.decommission(2);
5555 listener.waitForEvent();
5656 }
5757