Skip to content

KNOX-3345: Fix intermittent testRefreshGatewayConfig test issue#1259

Merged
hanicz merged 1 commit into
apache:masterfrom
hanicz:KNOX-3345
Jun 11, 2026
Merged

KNOX-3345: Fix intermittent testRefreshGatewayConfig test issue#1259
hanicz merged 1 commit into
apache:masterfrom
hanicz:KNOX-3345

Conversation

@hanicz

@hanicz hanicz commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

KNOX-3345 - GatewayServerTest.testRefreshGatewayConfig fails intermittently

What changes were proposed in this pull request?

  • The static field GatewayServer.lastReloadTime leaks state between tests. When testGatewayConfigChangeListener runs first, resets lastReloadTime to null for itself but leaves it set after completion.

How was this patch tested?

Ran unit tests locally

Integration Tests

N/A

UI changes

N/A

@hanicz hanicz requested a review from smolnar82 June 11, 2026 06:45
@github-actions

Copy link
Copy Markdown

Test Results

22 tests   22 ✅  2s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 7858f0e.

@hanicz hanicz merged commit 7c94926 into apache:master Jun 11, 2026
3 checks passed
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