We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c0e393 commit 22d79d1Copy full SHA for 22d79d1
kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/WatchTest.java
@@ -139,7 +139,7 @@ public void testHttpErrorReconnect() throws InterruptedException {
139
// accept watch and disconnect
140
server.expect().withPath(path).andUpgradeToWebSocket().open().done().once();
141
// refuse reconnect attempts 6 times
142
- server.expect().withPath(path).andReturn(503, new StatusBuilder().withCode(503).build()).times(1);
+ server.expect().withPath(path).andReturn(503, new StatusBuilder().withCode(503).build()).times(6);
143
// accept next reconnect and send ADDED event
144
server.expect().withPath(path)
145
.andUpgradeToWebSocket().open(new WatchEvent(pod1, "ADDED")).done().once();
0 commit comments