Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opensearch-project/OpenSearch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 88eb13d732f27028c6797013bf85c7e219b9f7b1
Choose a base ref
..
head repository: opensearch-project/OpenSearch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3c00409177889f166b4dd0b40d23c93797b1c732
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 server/src/test/java/org/opensearch/search/query/QueryProfilePhaseTests.java
Original file line number Diff line number Diff line change
@@ -621,12 +621,12 @@ public void testTerminateAfterEarlyTermination() throws Exception {
long maxScoreCount = query.getTimeBreakdown().get("max_score_count");
long minScoreCount = query.getTimeBreakdown().get("min_score_count");
long avgScoreCount = query.getTimeBreakdown().get("avg_score_count");
assertThat(maxScore, greaterThanOrEqualTo(0L));
assertThat(maxScore, greaterThan(0L));
assertThat(minScore, greaterThanOrEqualTo(0L));
assertThat(avgScore, greaterThanOrEqualTo(0L));
assertThat(maxScore, greaterThanOrEqualTo(avgScore));
assertThat(avgScore, greaterThanOrEqualTo(minScore));
assertThat(maxScoreCount, greaterThanOrEqualTo(0L));
assertThat(maxScoreCount, greaterThan(0L));
assertThat(minScoreCount, greaterThanOrEqualTo(0L));
assertThat(avgScoreCount, greaterThanOrEqualTo(0L));
assertThat(maxScoreCount, greaterThanOrEqualTo(avgScoreCount));