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

chore: Improve process management in e2e test #4840

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

lukemassa
Copy link
Contributor

@lukemassa lukemassa commented Aug 13, 2024

what

Make it so when the e2e.sh script ends, it also cleans up the background processes of atlantis and ngrok.

Additionally, quit the script early if atlantis or ngrok fail to start up.

why

While I was working on the e2e golang code, it ended up that multiple copies of both atlantis and ngrok were running on my computer, which got confusing.

Another annoyance was if atlantis or ngrok fail to start, the script kept going, then failed in a confusing way. Now the script makes sure the process stays up after the two second pause.

tests

I ran the script locally. Also the CI ran successfully, including my new output.

references

@lukemassa lukemassa requested review from a team as code owners August 13, 2024 03:08
@lukemassa lukemassa requested review from GenPage, nitrocode and X-Guardian and removed request for a team August 13, 2024 03:08
@lukemassa lukemassa changed the title Improve process management in e2e test chore: Improve process management in e2e test Aug 13, 2024
@lukemassa lukemassa force-pushed the improve_process_management_in_e2e_test branch from 89aafd5 to db0335d Compare August 13, 2024 03:12
@lukemassa lukemassa merged commit fcd62fa into main Aug 15, 2024
26 checks passed
@lukemassa lukemassa deleted the improve_process_management_in_e2e_test branch August 15, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants