Documented potential issues with blocked ports with Stub Runner

fixes #369
This commit is contained in:
Marcin Grzejszczak
2017-01-02 11:30:27 +01:00
parent 7d739cc3bd
commit d4f5689dc7

View File

@@ -8,6 +8,14 @@ For messaging, special stub routes are defined.
==== Running stubs
===== Limitations
IMPORTANT: There might be a problem with StubRunner shutting down ports between tests. You might
have a situation in which you get port conflicts. As long as you use the same context across tests
everything works fine. But when the context are different (e.g. different stubs or different profiles)
then you have to either use `@DirtiesContext` to shut down the stub servers, or else run them on
different ports per test.
===== Running using main app
You can set the following options to the main class: