Skip to content

Commit 35eee68

Browse files
committed
build: add random port to make windows OS happy
1 parent cf406e4 commit 35eee68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/jooby-test/src/test/java/io/jooby/test/AppPerTestUsingJoobyTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public void shouldUseFactoryMethod(int serverPort) throws IOException {
4545
}
4646
}
4747

48-
@JoobyTest(value = TestArgApp.class, factoryMethod = "createStaticApp")
48+
@JoobyTest(value = TestArgApp.class, factoryMethod = "createStaticApp", port = 0)
4949
public void shouldUseStaticFactoryMethod(int serverPort) throws IOException {
5050
Request request = new Request.Builder().url("http://localhost:" + serverPort + "/").build();
5151

0 commit comments

Comments
 (0)