Bumping versions

This commit is contained in:
buildmaster
2021-09-18 02:29:34 +00:00
parent c32eba11c4
commit e553925df2
3 changed files with 8 additions and 16 deletions

View File

@@ -56,10 +56,8 @@ class NettyRoutingFilterTests extends BaseWebClientTests {
@Test
@Disabled
void mockServerWorks() {
WebTestClient client = WebTestClient.bindToApplicationContext(this.context)
.build();
client.get().uri("/mockexample").exchange().expectStatus()
.value(Matchers.lessThan(500));
WebTestClient client = WebTestClient.bindToApplicationContext(this.context).build();
client.get().uri("/mockexample").exchange().expectStatus().value(Matchers.lessThan(500));
}
@Test
@@ -74,8 +72,7 @@ class NettyRoutingFilterTests extends BaseWebClientTests {
.consumeWith(entityExchangeResult -> {
assertThat(entityExchangeResult).isNotNull();
assertThat(entityExchangeResult.getResponseBody()).isNotNull();
String content = new String(entityExchangeResult
.getResponseBody());
String content = new String(entityExchangeResult.getResponseBody());
assertThat(content).isEqualTo("issue2207");
});
}

View File

@@ -108,11 +108,9 @@ public class RetryGatewayFilterFactoryIntegrationTests extends BaseWebClientTest
@Test
public void retryFilterPost(CapturedOutput output) {
testClient.post().uri("/retrypost?key=postconfig&expectedbody=HelloConfig")
.header(HttpHeaders.HOST, "www.retrypostconfig.org")
.bodyValue("HelloConfig").exchange().expectStatus()
.header(HttpHeaders.HOST, "www.retrypostconfig.org").bodyValue("HelloConfig").exchange().expectStatus()
.isOk().expectBody(String.class).isEqualTo("3");
assertThat(output)
.contains("disposing response connection before next iteration");
assertThat(output).contains("disposing response connection before next iteration");
}
@Test
@@ -123,10 +121,8 @@ public class RetryGatewayFilterFactoryIntegrationTests extends BaseWebClientTest
@Test
public void retryFilterPostOneTime(CapturedOutput output) {
testClient.post()
.uri("/retrypost?key=retryFilterPostOneTime&expectedbody=HelloGateway&count=1")
.header(HttpHeaders.HOST, "www.retrypostonceconfig.org")
.bodyValue("HelloGateway").exchange()
testClient.post().uri("/retrypost?key=retryFilterPostOneTime&expectedbody=HelloGateway&count=1")
.header(HttpHeaders.HOST, "www.retrypostonceconfig.org").bodyValue("HelloGateway").exchange()
.expectStatus().isOk();
assertThat(output).contains("setting new iteration in attr 0");
assertThat(output).doesNotContain("setting new iteration in attr 1");

View File

@@ -59,8 +59,7 @@ public class ClientCertAuthSSLTests extends SingleCertSSLTests {
try {
URL url = ResourceUtils.getURL(keyStore);
store.load(url.openStream(), keyStorePassword != null ? keyStorePassword
.toCharArray() : null);
store.load(url.openStream(), keyStorePassword != null ? keyStorePassword.toCharArray() : null);
}
catch (Exception e) {
throw new WebServerException("Could not load key store ' " + keyStore + "'", e);