Skip to content

[BUG] The sample_logs array in the patterns command results had non-deterministic ordering #5118

Closed

Description

@LantaoJin

What is the bug?
It cause the results non-deterministic and IT flaky.

How can one reproduce the bug?

./gradlew ':integ-test:yamlRestTest' --tests 'org.opensearch.sql.rest.RestHandlerClientYamlTestSuiteIT.test {yaml=issues/4866/Patterns with specified max_sample_count should return correct result}' -Dtests.seed=7EA1C8BFFB4E312E

What is the expected behavior?
The above IT could pass

What is your host/environment?

  • Version 3.5.0
  • Plugins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

PPLbug

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions