Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flakey unit test: Test_server_ClientCert/* #3266

Closed
michel-laterman opened this issue Feb 9, 2024 · 1 comment · Fixed by #3572
Closed

flakey unit test: Test_server_ClientCert/* #3266

michel-laterman opened this issue Feb 9, 2024 · 1 comment · Fixed by #3572
Labels
flaky-test Unstable or unreliable test cases.

Comments

@michel-laterman
Copy link
Contributor

michel-laterman commented Feb 9, 2024

Flaky Test

Effects main, example here
File here
It looks like it is where the request may get a connection refused response

Stack Trace

=== RUN   Test_server_ClientCert/valid_client_certs_no_certs_requested
--
  | server_test.go:349:
  | Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-gcp-1707490899215587797/elastic/fleet-server/internal/pkg/api/server_test.go:349
  | Error:      	Received unexpected error:
  | Get "https://localhost:36805/api/status": dial tcp 127.0.0.1:36805: connect: connection refused
  | Test:       	Test_server_ClientCert/valid_client_certs_no_certs_requested
@michel-laterman michel-laterman added the flaky-test Unstable or unreliable test cases. label Feb 9, 2024
@michel-laterman
Copy link
Contributor Author

More logs

=== RUN   Test_server_ClientCert/valid_client_certs_no_certs_requested
--
  | server.go:175: {"level":"info","message":"server hard connection limiter disabled"}
  | server_test.go:354:
  | Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-gcp-1707983859488530268/elastic/fleet-server/internal/pkg/api/server_test.go:354
  | Error:      	Received unexpected error:
  | Get "https://localhost:45963/api/status": dial tcp 127.0.0.1:45963: connect: connection refused
  | Test:       	Test_server_ClientCert/valid_client_certs_no_certs_requested
  | FAIL: Test_server_ClientCert (3.61s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test Unstable or unreliable test cases.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant