[go: nahoru, domu]

Skip to content

Commit

Permalink
test updated to be more stable
Browse files Browse the repository at this point in the history
  • Loading branch information
skarpenko committed Mar 30, 2018
1 parent f5eff8b commit 4ebab8d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public void shouldOpenCircuitBreaker() throws IOException, InterruptedException
assertThat(server.getAllServeEvents().size()).isLessThan(callsNo);
Throwable firstError = (Throwable) results.get(0);
assertThat(firstError).isInstanceOf(HystrixRuntimeException.class);
assertThat(firstError.getMessage()).contains("failed and no fallback available");
assertThat(firstError.getMessage()).contains("and no fallback available");

Throwable lastError = (Throwable) results.get(results.size() - 1);
assertThat(lastError).isInstanceOf(HystrixRuntimeException.class);
Expand Down
6 changes: 0 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,6 @@
<url>https://api.bintray.com/maven/kptfh/feign-reactive/client/;publish=1</url>
</repository>
</distributionManagement>
<!--<distributionManagement>-->
<!--<repository>-->
<!--<id>bintray</id>-->
<!--<url>https://api.bintray.com/maven/kptfh/feign-reactive/client/;publish=1</url>-->
<!--</repository>-->
<!--</distributionManagement>-->

<reporting>
<plugins>
Expand Down

0 comments on commit 4ebab8d

Please sign in to comment.