destroy() shuts down the taskScheduler
Issue gh-15735
This commit is contained in:
@@ -68,8 +68,9 @@ public class JdbcOneTimeTokenServiceTests {
|
||||
}
|
||||
|
||||
@AfterEach
|
||||
public void tearDown() {
|
||||
public void tearDown() throws Exception {
|
||||
this.db.shutdown();
|
||||
this.oneTimeTokenService.destroy();
|
||||
}
|
||||
|
||||
private static EmbeddedDatabase createDb() {
|
||||
|
||||
Reference in New Issue
Block a user