Skip to content

Conversation

@jeschkies
Copy link
Member

Description

The Loki query was selecting the second line of the test data. This is because the timestamp for the first line and start of the query were the same. All other tests move the timestamps for each line away from the start and end to avoid such a flake.

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

## Section
* Fix some things. ({issue}`issuenumber`)

Fixes #25035

@cla-bot cla-bot bot added the cla-signed label Mar 27, 2025
@github-actions github-actions bot added the loki Loki connector label Mar 27, 2025
@jeschkies jeschkies requested a review from ebyhr March 27, 2025 11:31
Copy link
Member

@ebyhr ebyhr left a comment

Choose a reason for hiding this comment

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

Thanks for sending this PR, but the test is still flaky.
Please run stress tests with @RepeatedTest on your laptop.

@jeschkies
Copy link
Member Author

@ebyhr thanks. I ran it with 100 iterations and it was fine.

@ebyhr ebyhr merged commit f5c429b into trinodb:master Mar 31, 2025
15 checks passed
@github-actions github-actions bot added this to the 475 milestone Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed loki Loki connector

Development

Successfully merging this pull request may close these issues.

Flaky TestLokiIntegration.testSelectTimestampLogsQuery

2 participants