Random port allocation - randomPort property added to be able to assign random...
Random port allocation - randomPort property added to be able to assign random free port at runtime. This way we are able to perform concurrent builds on single machine. Allocated port is set to the system property "embedmongo.port.<maven-artifactId>" where <maven-artifactId> is artifactId of current (tested) maven module.
Showing
- CHANGELOG.md 4 additions, 0 deletionsCHANGELOG.md
- README.md 3 additions, 1 deletionREADME.md
- pom.xml 12 additions, 0 deletionspom.xml
- src/main/java/com/github/joelittlejohn/embedmongo/StartEmbeddedMongoMojo.java 52 additions, 1 deletion...thub/joelittlejohn/embedmongo/StartEmbeddedMongoMojo.java
- src/main/java/com/github/joelittlejohn/embedmongo/port/PortHelper.java 99 additions, 0 deletions.../com/github/joelittlejohn/embedmongo/port/PortHelper.java
- src/main/java/com/github/joelittlejohn/embedmongo/port/PortUnavailableException.java 25 additions, 0 deletions...elittlejohn/embedmongo/port/PortUnavailableException.java
- src/test/java/com/github/joelittlejohn/embedmongo/port/PortHelperTest.java 72 additions, 0 deletions.../github/joelittlejohn/embedmongo/port/PortHelperTest.java
- src/test/resources/example1/pom.xml 1 addition, 1 deletionsrc/test/resources/example1/pom.xml
- src/test/resources/example2/pom.xml 1 addition, 1 deletionsrc/test/resources/example2/pom.xml
- src/test/resources/example3/pom.xml 1 addition, 1 deletionsrc/test/resources/example3/pom.xml
- src/test/resources/pom.xml 2 additions, 1 deletionsrc/test/resources/pom.xml
- src/test/resources/randomport/pom.xml 86 additions, 0 deletionssrc/test/resources/randomport/pom.xml
- src/test/resources/randomport/src/test/java/com/github/joelittlejohn/embedmongo/MongoIT.java 39 additions, 0 deletions...est/java/com/github/joelittlejohn/embedmongo/MongoIT.java
Loading
Please register or sign in to comment