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

E2E tests #309

Merged
merged 1 commit into from
Sep 8, 2021
Merged

E2E tests #309

merged 1 commit into from
Sep 8, 2021

Conversation

miry
Copy link
Contributor

@miry miry commented Sep 7, 2021

Add script to run e2e tests to test client and server.
Use benchmarking script as sample client application.
Automate the process with Github Actions in test workflow.

@miry miry self-assigned this Sep 7, 2021
@miry miry force-pushed the bennchmarking-testing branch 4 times, most recently from 9b0ade6 to 459924e Compare September 7, 2021 13:15
Copy link
Contributor

@thepwagner thepwagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

I wondered about using docker-compose to manage these instead:

  • wait_for_url looks a lot like a docker HEALTHCHECK
  • trap pkill ; pkill is a little like docker-compose down -f
  • the pattern of prefixing log output from the [web] and [toxiproxy] servers with sed is also ~free in docker-compose

I'm not sold it's worth adding the extra dependency, just noting the similarities.

Add script to run e2e tests to test client and server.
Use benchmarking script as sample client application.
Automate the process with Github Actions in test workflow.
@miry
Copy link
Contributor Author

miry commented Sep 8, 2021

@thepwagner Thank you for your review and feedback.

You are right about docker-compose, and the reasons why I try avoid adding new tools.

@miry miry merged commit dfab1f5 into master Sep 8, 2021
@miry miry deleted the bennchmarking-testing branch September 8, 2021 08:57
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.

2 participants