Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing up events aggregation integration test. #20158

Merged
merged 4 commits into from
Aug 15, 2024

Conversation

dennisoelkers
Copy link
Member

Description

Motivation and Context

This PR is fixing the test introduced in #20154 so it tests also without a grouping, which triggers some issues with OS 2.16.0. It turns the existing test case with a grouping into an additional test case.

/nocl

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

@dennisoelkers dennisoelkers requested a review from janheise August 12, 2024 16:12
@dennisoelkers dennisoelkers force-pushed the fix/events-search-aggregation-test branch from 722597b to c2fa3c4 Compare August 14, 2024 10:23
@@ -36,7 +36,7 @@
import java.util.List;
import java.util.concurrent.ExecutionException;

@ContainerMatrixTestsConfiguration(serverLifecycle = Lifecycle.CLASS, searchVersions = {SearchServer.ES7, SearchServer.OS2_LATEST, SearchServer.DATANODE_DEV}, withWebhookServerEnabled = true)
@ContainerMatrixTestsConfiguration(serverLifecycle = Lifecycle.CLASS, searchVersions = {SearchServer.OS2_LATEST}, withWebhookServerEnabled = true)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the reason to only test with OS2_LATEST ?


public record Deflector(String target, boolean isUp) {}

public Deflector deflector(String indexSetId) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not used. do we want to keep it?

@janheise janheise self-requested a review August 15, 2024 07:30
@janheise janheise merged commit 4111ff1 into master Aug 15, 2024
6 checks passed
@janheise janheise deleted the fix/events-search-aggregation-test branch August 15, 2024 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants