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: Fixes for e2e test runs #3948

Merged
merged 1 commit into from
May 4, 2022

Conversation

Eric-Warehime
Copy link
Contributor

A couple of small quality of life fixes for e2e tests that I've run into issues with.

Summary

  1. In e2e.sh when we fail to set the E2E_PLATFORM variable, the shell will complain that we are using a binary operator (==) on a single argument. Setting the left side of the test statement to a string with variable interpolation fixes this.
  2. The e2e python client runner does not initialize the stdout and stderr variables which causes an exception in reportcomms(p, stdout, stderr) when the except block runs after p.communicate raises an exception. Initializing to None fixes this.

Test Plan

Found and fixed while running e2e tests in failure scenarios.

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