Skip to content

[To dev/1.3] Restore IT observation checks (#18899, #19095) [do not squash] - #19112

Merged
jt2594838 merged 2 commits into
dev/1.3from
codex/cp-18899-dev13-assertions
Nov 4, 2026
Merged

jt2594838 merged 2 commits into
dev/1.3from
codex/cp-18899-dev13-assertions

Conversation

@Caideyipi

@Caideyipi Caideyipi commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

assertDataAlwaysOnEnv previously returned after configuring failFast, so its query and assertions never ran. Restore checks throughout the requested observation period, correct the dormant callers, and count query execution toward that period so a successful slow query does not fail because of a five-second Awaitility margin.

This PR contains two separate backports; please do not squash:

  1. [Test] Fix dynamic status queries and asynchronous deletion polling #18899 — c9c16af42f696eb9fcecf287704c7825d2524e2c: restore continuous assertions, correct schema-only query headers and user/privilege expectations, wait for asynchronous permission propagation, and port the applicable helper regression coverage.
  2. Stabilize IT observation periods and restart cache checks #19095 — ca8074d15c824f2533d357778e40f773d02b5565: use the original monotonic elapsed-time observation loop, retain immediate failure on mismatches, and port the seven-second JDBC-query regression.

The target base is dev/1.3 at c0811e54d01c1f4480d10506930c44d06cfb12e6. The adaptations retain its single tree-model helper, User and Path columns, and existing privilege names. The table-only APIs and independent deletion/status-polling changes from #18899 are outside the scoped backport. The restart-cache test testWriteRestartAndDeleteDB changed by #19095 does not exist in 1.3, so its flush/session changes have no target counterpart.

Validation on JDK 17:

The full integration suite was not run. The two existing ignored multi/exclusion-pattern scenarios remain ignored. CI for the updated head is tracked separately.

Backport the continuous assertion fix and necessary caller corrections
from #18899. Execute fail-fast checks for the requested observation period
and adapt regression coverage to the tree-model helper available in 1.3.

Preserve the 1.3 user and privilege result formats. Table-only helpers,
missing overloads, and independent asynchronous deletion and status polling
changes are outside this explicitly scoped backport.

Manually adapted partial cherry-pick from
#18899.

(cherry picked from commit c9c16af)
Replace the Awaitility observation deadline with the source PR's monotonic
elapsed-time loop so successful slow queries count toward the requested
period. Preserve immediate mismatch failure and port the seven-second
query regression to the single tree-model helper available in 1.3.

The table-only assertion and overloads are absent in 1.3. The restart-cache
testWriteRestartAndDeleteDB scenario is also absent, so its session and
flush adjustments have no target counterpart.

(cherry picked from commit ca8074d)
@Caideyipi Caideyipi changed the title [To dev/1.3] Restore continuous assertion polling (#18899) [To dev/1.3] Restore IT observation checks (#18899, #19095) [do not squash] Nov 4, 2026
@sonarqubecloud

sonarqubecloud Bot commented Nov 4, 2026

Copy link
Copy Markdown

@jt2594838
jt2594838 merged commit 867d602 into dev/1.3 Nov 4, 2026
17 of 18 checks passed
@jt2594838
jt2594838 deleted the codex/cp-18899-dev13-assertions branch November 4, 2026 07:03
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