Skip to content

Commit

Permalink
refactor: testcontainer에서 deprecated된 getExitCode를 사용하지 않도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
joon6093 committed Nov 23, 2024
1 parent 1e5f47d commit b347ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/test/java/io/jeyong/test/SigtermListenerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void testSigtermHandling() throws Exception {
sendSigtermToContainer(container);

// then
Integer exitCode = container.getCurrentContainerInfo().getState().getExitCode();
Long exitCode = container.getCurrentContainerInfo().getState().getExitCodeLong();
assertThat(exitCode).isEqualTo(0);
}
}
Expand Down

0 comments on commit b347ec4

Please sign in to comment.