diff --git a/spring-cloud-contract-maven-plugin/complex-content.html b/spring-cloud-contract-maven-plugin/complex-content.html index 3e81ae375a..6f095476ea 100644 --- a/spring-cloud-contract-maven-plugin/complex-content.html +++ b/spring-cloud-contract-maven-plugin/complex-content.html @@ -1,13 +1,13 @@
- +|
+ 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.
+ |
+
You can set the following options to the main class:
@@ -6077,7 +6097,7 @@ Spring Cloud Contract supports defining multiple contracts in a single file!