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 tests #180

Merged
merged 3 commits into from
Jun 23, 2023
Merged

Fix integration tests #180

merged 3 commits into from
Jun 23, 2023

Conversation

wookie184
Copy link
Contributor

Closes #179
Closes #177

Open to trying a different approach if preferred.

@coveralls
Copy link

coveralls commented Jun 22, 2023

Coverage Status

coverage: 90.845%. remained the same when pulling 3a10f40 on fix-integration-tests into 743c40c on main.

Comment on lines 93 to 97

# Actually wait for the process to finish. There doesn't seem to be a
# reliable way of checking if the timeout was reached or this ended normally,
# but if the timeout is reached it will probably error later anyway.
proc.join(timeout=10)
Copy link
Member

@MarkKoz MarkKoz Jun 22, 2023

Choose a reason for hiding this comment

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

Can we try to kill the process afterwards in case it timed out? So ultimately, we are first trying to gracefully stop it with terminate, and if that fails, we kill it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done in 3a10f40

@MarkKoz MarkKoz added type: bug Something isn't working area: tests Related to tests (e.g. unit tests) labels Jun 23, 2023
Copy link
Member

@MarkKoz MarkKoz left a comment

Choose a reason for hiding this comment

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

Thank you!!

@MarkKoz MarkKoz merged commit 3888578 into main Jun 23, 2023
@MarkKoz MarkKoz deleted the fix-integration-tests branch June 23, 2023 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: tests Related to tests (e.g. unit tests) type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integration tests fail to run when other test arguments are passed Integration test failing
3 participants