stop server at the end of unittest
This commit is contained in:
parent
633afa5bed
commit
4a845e3cc4
@ -186,6 +186,8 @@ TEST_CASE("Websocket_message_queue", "[websocket_message_q]")
|
|||||||
MsgQTestClient testClient;
|
MsgQTestClient testClient;
|
||||||
testClient.run("ws://127.0.0.1:" + std::to_string(port));
|
testClient.run("ws://127.0.0.1:" + std::to_string(port));
|
||||||
REQUIRE(testClient.isSucceeded());
|
REQUIRE(testClient.isSucceeded());
|
||||||
|
|
||||||
|
server.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user