Skip to content

fix: disable flaky postBasedOnSchema e2e test [2.41]#24106

Open
netroms wants to merge 1 commit into
2.41from
backport/disable-flaky-schema-e2e-2.41
Open

fix: disable flaky postBasedOnSchema e2e test [2.41]#24106
netroms wants to merge 1 commit into
2.41from
backport/disable-flaky-schema-e2e-2.41

Conversation

@netroms
Copy link
Copy Markdown
Contributor

@netroms netroms commented Jun 3, 2026

Backports the @Disabled on MetadataImportBasedOnSchemasTest.postBasedOnSchema from master (commit d5b5e46, #22057) to 2.41.

That test was disabled on master and 2.43, but the disable was never backported to 2.42/2.41 — so it still runs there and red-fails the api-test lane on most 2.41 PRs. Root cause: it generates a body from a schema's required properties only, but some schemas have conditionally-required fields that random generation can't satisfy (e.g. Document.url is interpreted as a FileResource reference unless the non-required external flag is set), so the importer rejects it with E4015. The first-failing schema varies run to run, hence the flakiness.

Test-only change; matches master + 2.43. No production code touched.

Sibling PR (2.42): #24105

AI Assisted

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 3, 2026

@netroms netroms enabled auto-merge (squash) June 3, 2026 16:59
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.

3 participants