Skip to content

Commit

Permalink
ensure shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellblazer committed Oct 28, 2023
1 parent 5bd89c5 commit 944d98d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static RotationEvent rotation(KeyPair prevNext, final Digest prevDigest,

@AfterEach
public void after() {
routers.values().forEach(r -> r.close(Duration.ofMillis(1)));
routers.values().forEach(r -> r.close(Duration.ofSeconds(2)));
routers.clear();
dhts.values().forEach(t -> t.stop());
dhts.clear();
Expand Down

0 comments on commit 944d98d

Please sign in to comment.