Merge branch '2.4.x'

Closes gh-25506
This commit is contained in:
Stephane Nicoll
2021-03-05 10:03:42 +01:00
8 changed files with 15 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -80,7 +80,7 @@ class BuildInfoIntegrationTests {
Properties second = buildInfoProperties();
String secondBuildTime = second.getProperty("build.time");
assertThat(secondBuildTime).isNotNull();
assertThat(Instant.parse(firstBuildTime).isBefore(Instant.parse(secondBuildTime)));
assertThat(Instant.parse(firstBuildTime)).isBefore(Instant.parse(secondBuildTime));
}
@TestTemplate

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -61,7 +61,7 @@ public class BootBuildImageRegistryIntegrationTests {
@BeforeEach
void setUp() {
assertThat(registry.isRunning());
assertThat(registry.isRunning()).isTrue();
this.registryAddress = registry.getHost() + ":" + registry.getFirstMappedPort();
}