Skip to content
Snippets Groups Projects
Commit 9bbb1f92 authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

simple kill test

parent 29c3ca5a
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,17 @@ namespace Grpc.Core.Tests
server.ShutdownAsync().Wait();
}
[Test]
public void StartAndKillServer()
{
Server server = new Server
{
Ports = { new ServerPort("localhost", ServerPort.PickUnused, ServerCredentials.Insecure) }
};
server.Start();
server.KillAsync().Wait();
}
[Test]
public void PickUnusedPort()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment