Skip to content

Commit

Permalink
[Dubbo-3657] Fix junit test failed (#3658)
Browse files Browse the repository at this point in the history
  • Loading branch information
maoyiz authored and ralf0131 committed Mar 19, 2019
1 parent 79f0b7c commit dd5ec5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ public Monitor getMonitor(URL url) {

final URL monitorUrl = url;
final CompletableFuture<Monitor> completableFuture = CompletableFuture.supplyAsync(() -> AbstractMonitorFactory.this.createMonitor(monitorUrl));
completableFuture.thenRunAsync(new MonitorListener(key), executor);
FUTURES.put(key, completableFuture);
completableFuture.thenRunAsync(new MonitorListener(key), executor);

return null;
} finally {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public Class<MonitorService> getInterface() {
}

public URL getUrl() {
return URL.valueOf("dubbo://127.0.0.1:7070?interval=20");
return URL.valueOf("dubbo://127.0.0.1:7070?interval=1000");
}

@Override
Expand Down

0 comments on commit dd5ec5c

Please sign in to comment.