Show debug Prometheus collector logs when an e2e test fails to startup.
I was running into an issue that only happened on GitHub Actions. How this works:
Use a context that times out right before the test. This ensures the test catches the timeout and can "cleanup" or in this case, show logs before exiting.
Show debug logs in the test. We use a new context in case the test timed out, and the original context cannot be reused.
Show debug Prometheus collector logs when an e2e test fails to startup.
I was running into an issue that only happened on GitHub Actions. How this works: