Skip to content

Commit fdf7b50

Browse files
committed
Fix TestLogging annotations
1 parent 7246511 commit fdf7b50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/repository-s3/src/test/java/org/elasticsearch/repositories/s3/S3ServiceTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public void testGetClientRegionFromEndpointSettingGuess() {
186186
}
187187
}
188188

189-
@TestLogging(reason = "testing log output for various settings", value = "org.elasticsearch.repositories.s3.S3Service:DEBUG")
189+
@TestLogging(reason = "testing DEBUG log output", value = "org.elasticsearch.repositories.s3.S3Service:DEBUG")
190190
public void testGetClientRegionFromDefault() {
191191
final var regionRequested = new AtomicBoolean();
192192
final var defaultRegion = randomBoolean() ? randomFrom(Region.regions()) : Region.of(randomIdentifier());
@@ -212,7 +212,7 @@ public void testGetClientRegionFromDefault() {
212212
}
213213
}
214214

215-
@TestLogging(reason = "testing log output for various settings", value = "org.elasticsearch.repositories.s3.S3Service:WARN")
215+
@TestLogging(reason = "testing WARN log output", value = "org.elasticsearch.repositories.s3.S3Service:WARN")
216216
public void testGetClientRegionFallbackToUsEast1() {
217217
final var regionRequested = new AtomicBoolean();
218218
try (var s3Service = new S3Service(mock(Environment.class), Settings.EMPTY, mock(ResourceWatcherService.class), () -> {

0 commit comments

Comments
 (0)