Skip to content

Commit bd90106

Browse files
committed
add actual name to teardown log
1 parent 5936c49 commit bd90106

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/software/amazon/awssdk/crt/test/CrtTestFixture.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public void setup() {
246246

247247
@After
248248
public void tearDown() {
249-
Log.log(Log.LogLevel.Debug, LogSubject.JavaCrtGeneral, String.format("CrtTestFixture tearDown begin", testName.getMethodName()));
249+
Log.log(Log.LogLevel.Debug, LogSubject.JavaCrtGeneral, String.format("CrtTestFixture tearDown for %s begin", testName.getMethodName()));
250250
CrtPlatform platform = CRT.getPlatformImpl();
251251
if (platform != null) {
252252
platform.testTearDown(context);
@@ -264,7 +264,7 @@ public void tearDown() {
264264
throw new RuntimeException("Memory leak from native resource detected!");
265265
}
266266
}
267-
Log.log(Log.LogLevel.Debug, LogSubject.JavaCrtGeneral, "CrtTestFixture tearDown end");
267+
Log.log(Log.LogLevel.Debug, LogSubject.JavaCrtGeneral, String.format("CrtTestFixture tearDown for %s end", testName.getMethodName()));
268268
System.out.println("[TEST END] " + testName.getMethodName());
269269
}
270270

0 commit comments

Comments
 (0)