Commit 49e5e5e8 authored by Oliver Kuckertz's avatar Oliver Kuckertz

Properly shut down test client socket

parent 687f988d
...@@ -518,6 +518,7 @@ TEST(AsyncUnixTest, UrgentObserver) { ...@@ -518,6 +518,7 @@ TEST(AsyncUnixTest, UrgentObserver) {
// Allow server thread to let its clientFd go out of scope. // Allow server thread to let its clientFd go out of scope.
c = 'q'; c = 'q';
KJ_SYSCALL(send(clientFd, &c, 1, 0)); KJ_SYSCALL(send(clientFd, &c, 1, 0));
KJ_SYSCALL(shutdown(clientFd, SHUT_RDWR));
} }
TEST(AsyncUnixTest, SteadyTimers) { TEST(AsyncUnixTest, SteadyTimers) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment