Skip to content

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

@LantaoJin

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

Metadata

Metadata

Assignees

Labels

PPLPiped processing languagebugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions