Skip to content

Commit

Permalink
Fix wrong regex pattern in RingTest
Browse files Browse the repository at this point in the history
patch by Ekaterina Dimitrova; reviewed by Andrés de la Peña for CASSANDRA-16612
  • Loading branch information
ekaterinadimitrova2 committed Aug 9, 2021
1 parent 6fbe736 commit b7c4271
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -85,7 +85,7 @@ private void validateRingOutput(String hostForm, String... args)
assertThat(hostRing).contains(SimpleSnitch.RACK_NAME);
assertThat(hostRing).contains("Up");
assertThat(hostRing).contains("Normal");
assertThat(hostRing).containsPattern("\\d+\\.\\d+ KiB");
assertThat(hostRing).containsPattern("\\d+\\.?\\d+ KiB");
assertThat(hostRing).containsPattern("\\d+\\.\\d+%");
assertThat(hostRing).endsWith(token);
assertThat(hostRing).doesNotContain("?");
Expand Down

0 comments on commit b7c4271

Please sign in to comment.