203204205206207208209210211212213
continue; } ClientDriverResponse response = expectation.getPair().getResponse(); if (response.canExpire() && response.hasNotExpired()) { period = DEFAULT_WAIT_INTERVAL; break; } failedExpectations.add(expectation);
130131132133134135136137138139140
driver.addExpectation( onRequestTo("/path"), response); // Then assertThat(response.canExpire(), is(false)); } @Test public void responseTimeoutOverridesClientDriverRuleExpectationTimeout() throws InterruptedException {