Fix sevlet3 tomcat async test (#12321)

This commit is contained in:
Lauri Tulmin 2024-09-24 12:57:46 +03:00 committed by GitHub
parent c55cbbe0d4
commit 6d94506b79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -176,6 +176,11 @@ public class TestServlet3 {
latch.countDown();
}
});
try {
latch.await();
} catch (InterruptedException exception) {
Thread.currentThread().interrupt();
}
}
}