Skip to content

Cherry-pick #7642: [integ-test] Make get-cluster/image-log-events integ tests robust to empty pages - #7647

Merged
hanwen-cluster merged 2 commits into
release-3.16from
cherry-pick/pr-7642-to-release-3.16
Oct 5, 2026
Merged

hanwen-cluster merged 2 commits into
release-3.16from
cherry-pick/pr-7642-to-release-3.16

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Automated cherry-pick of #7642 to release-3.16.

Included PRs:

…empty pages

GetLogEvents may return partially full or empty pages even when more events are available; `limit` is only an upper bound. The previous checks assumed `limit=1` always returned exactly one event and indexed `events[0]`, making them flaky.

Replace the filter matrix with a full pagination of the log stream (until the returned token equals the one passed in) and assert the stream is not empty. Arguments like `limit` are already covered by unit tests, and don't have to be in integration tests.
@hanwen-cluster hanwen-cluster added the skip-changelog-update Disables the check that enforces changelog updates in PRs label Oct 5, 2026
@hanwen-cluster
hanwen-cluster enabled auto-merge (rebase) October 5, 2026 17:12
@hanwen-cluster
hanwen-cluster merged commit 5eb024a into release-3.16 Oct 5, 2026
36 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick skip-changelog-update Disables the check that enforces changelog updates in PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant