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
Fix TestArtifactoryClientCert flakiness on windows.. Adding some retries on Windows when this error happens. (#3366)
Instead of the certificate error we might have "wsarecv: An established connection was aborted" which fails the test
Co-authored-by: github-actions[bot] <[email protected]>
require.Error(t, err, "Expected a connection failure, since client did not provide a client certificate. Connection however is successful")
1683
+
if!strings.Contains(err.Error(), "wsarecv") {
1684
+
break
1685
+
}
1686
+
time.Sleep(200*time.Millisecond)
1687
+
}
1688
+
}
1672
1689
assert.ErrorContains(t, err, "certificate", "Expected a connection failure, since client did not provide a client certificate. Connection however is successful")
1673
1690
1674
1691
// Inject client certificates, we expect the search to succeed
0 commit comments