Skip to content

Commit

Permalink
Change default port to avoid conflict (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng authored Nov 8, 2022
1 parent 9ac90a4 commit d17280f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ signing {
}

group = "io.github.cadence-oss"
version = "1.0.0-rc1"
version = "1.0.1-rc1"

nexusPublishing {
repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public abstract class ClientOptions {

public abstract String getWorkerUrl();

public static final String defaultWorkerUrl = "http://localhost:8080";
public static final String defaultWorkerUrl = "http://localhost:8802";
public static final String defaultServerUrl = "http://localhost:8801";

public static final ClientOptions localDefault = minimum(defaultWorkerUrl, defaultServerUrl);
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/io/github/cadenceoss/iwf/spring/TestWorker.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ public class TestWorker {
ExecutorService executor = Executors.newSingleThreadExecutor();

public void start() throws ExecutionException, InterruptedException {
System.getProperties().put("server.port", 8802);

executor.submit(() -> {
SpringApplication.run(SpringMainApplication.class);
}).get();
Expand Down

0 comments on commit d17280f

Please sign in to comment.