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

Fix integration test on linux #193

Merged
merged 1 commit into from
Apr 12, 2023
Merged

Fix integration test on linux #193

merged 1 commit into from
Apr 12, 2023

Conversation

jsaun
Copy link
Contributor

@jsaun jsaun commented Apr 12, 2023

Its still unclear to me why this issue only presents when running on linux, maybe the helm process returns faster. Waiting for cert-manager to start + 10 secs fixes it though, waiting for cert-manager alone still results in failures. The bottom issue is some form of deadlock on the tls-secret object, where cert-manager is unable to update because the object was modified while cert-manager was running.

Other cleanup:
Create namespace was unnecessary.
process.StandardError.ReadLineAsync() was occasionally throwing exceptions, process.OutputDataReceived += new DataReceivedEventHandler(OutputHandler) seems to be better.

@jsaun jsaun requested a review from MattMcL4475 April 12, 2023 22:33
@MattMcL4475
Copy link
Collaborator

Thanks for digging deep on this one!

@jsaun jsaun merged commit 89c0ca5 into main Apr 12, 2023
@jsaun jsaun deleted the jsaun/fix-tests branch April 12, 2023 23:34
@ngambani ngambani added this to the 4.3.0 milestone Apr 28, 2023
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.

3 participants