Skip to content

Commit

Permalink
Remove invalid characters in ClassRule annotation (#670)
Browse files Browse the repository at this point in the history
The classRule annotation cannot contain characters at the end. It will give the user a compile error.
  • Loading branch information
jgoldhammer authored and rnorth committed Apr 28, 2018
1 parent e6368be commit 2b48306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public static GenericContainer elasticsearch =

If the used image supports Docker's [Healthcheck](https://docs.docker.com/engine/reference/builder/#healthcheck) feature, you can directly leverage the `healthy` state of the container as your wait condition:
```java
@ClassRule2.32.3
@ClassRule
public static GenericContainer container =
new GenericContainer("image-with-healthcheck:4.2")
.waitingFor(Wait.forHealthcheck());
Expand Down

0 comments on commit 2b48306

Please sign in to comment.