add unstarted server test

pull/6829/head
Jan Tattermusch 9 years ago
parent d30d4e279c
commit 95e547ef9e
  1. 7
      src/csharp/Grpc.Core.Tests/ServerTest.cs

@ -93,5 +93,12 @@ namespace Grpc.Core.Tests
server.ShutdownAsync().Wait();
}
[Test]
public void UnstartedServerDoesNotPreventShutdown()
{
// just create a server, don't start it, and make sure it doesn't prevent shutdown.
var server = new Server();
}
}
}

Loading…
Cancel
Save