Skip to content

Commit

Permalink
fix flaky io.quarkus.redis.datasource.SearchCommandsTest#testAggregat…
Browse files Browse the repository at this point in the history
…ion test

(cherry picked from commit 5e2f392)
  • Loading branch information
cescoffier authored and gsmet committed Dec 20, 2022
1 parent 4b01b90 commit aea10e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ void testAggregation() {
.groupBy(new AggregateArgs.GroupBy().addProperty("@day").addProperty("@country").addReduceFunction("count",
"num_visits"))
.sortBy(new AggregateArgs.SortBy().ascending("@day").descending("@country")));
assertThat(result.count()).isEqualTo(3);
assertThat(result.count()).isGreaterThanOrEqualTo(3);
assertThat(result.documents()).allSatisfy(d -> {
assertThat(d.property("day").asInteger()).isPositive();
assertThat(d.property("country").asString()).isNotNull();
Expand Down

0 comments on commit aea10e6

Please sign in to comment.