Skip to content

Commit

Permalink
Wait for grpc server to shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignas committed Dec 17, 2023
1 parent b4a7873 commit 0998241
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ class NukagitIntegrationTest extends Specification {

def cleanup() {
sshClient.stop()
component.grpcServer().shutdown()
component.grpcServer().shutdownNow()
component.grpcServer().awaitTermination(1, TimeUnit.SECONDS)
component.sshServer().stop()
}

Expand Down

0 comments on commit 0998241

Please sign in to comment.