You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Test] More robust order of assertions (#99461) (#99468)
This PR adjusts the order of assertions to ensure we are done with the
atomic reference variable in the previous assertions before changing it
to null.
Resolves: #99406
Copy file name to clipboardExpand all lines: x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4ServerTransportAuthenticationTests.java
+12-6Lines changed: 12 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -202,9 +202,12 @@ public void testProxyStrategyConnectionClosesWhenAuthenticatorAlwaysFails() thro
202
202
fail("No connection should be available if authn fails");
203
203
}, e -> {
204
204
logger.info("Expected: no connection could not be established");
0 commit comments