Skip to content

Commit

Permalink
Remove timing config from AsyncClient
Browse files Browse the repository at this point in the history
The configurable timeout isn't needed here since it's very long anyway.

In the original PR, this was removed as part of resolving conflicts when
merging in changes from master, so we need to repeat this change for the
backport.
  • Loading branch information
Azquelt committed Nov 25, 2019
1 parent 00ed23d commit a7b1eea
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -29,7 +29,6 @@
import javax.enterprise.context.RequestScoped;

import org.eclipse.microprofile.fault.tolerance.tck.util.Connection;
import org.eclipse.microprofile.fault.tolerance.tck.util.TCKConfig;
import org.eclipse.microprofile.faulttolerance.Asynchronous;

/**
Expand Down Expand Up @@ -87,7 +86,7 @@ private CompletionStage<Connection> serviceCS(Future<?> waitCondition, boolean t

Throwable exception = null;
try {
waitCondition.get(TCKConfig.getConfig().getTimeoutInMillis(), TimeUnit.SECONDS);
waitCondition.get(1000, TimeUnit.SECONDS);
}
catch (ExecutionException e) {
exception = e.getCause();
Expand Down

0 comments on commit a7b1eea

Please sign in to comment.