Repository navigation
Conversation
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ ApprovedFixes a flaky test in OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|
Fixed here #32590 |
Pull request was closed
Describe your changes:
This fixes a branch-level flaky service unit test exposed by #32373 and independently by #32590.
SamlAuthServletHandlerTestmutates theSecurityConfigurationManagersingleton and can leave the authorizer configuration populated while the authentication configuration is null.testConfigGettersReturnNullWhenNotInitializeddepended on ambient singleton state and assumed only two possible states: all configuration is null, or authentication and authorization are both populated. Surefire filesystem ordering can therefore make the test fail even though the PR under test did not touch this code.The test now establishes its own uninitialized precondition by clearing authentication, authorization, and MCP configuration before asserting all three getters return null. There are no production-code changes.
Type of change:
Verification:
origin/1.13withSamlAuthServletHandlerTest,SecurityConfigurationManagerTest: 31 tests, 1 failure.mvn -pl openmetadata-service spotless:apply.mvn -pl openmetadata-service spotless:check.Checklist: