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

[Hotfix] Clean up xfvb processes after test #43

Merged
merged 1 commit into from
Feb 2, 2021

Conversation

goobta
Copy link
Member

@goobta goobta commented Feb 2, 2021

Pybullet realtime physics don't work unless it is running in GUI mode. This isn't a big deal when we are running the simulation for ourselves; however, to write deterministic tests, we need to create a virtual display.

We're using pyvirtualdisplay for this, but the display process never ever terminated so they were just hanging. This should take care of all of that.

@goobta goobta added bug Something isn't working cleanliness refactoring the code to make it more elegant labels Feb 2, 2021
@coveralls
Copy link

coveralls commented Feb 2, 2021

Pull Request Test Coverage Report for Build 530425738

  • 5 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.007%) to 97.57%

Totals Coverage Status
Change from base Build 528327536: 0.007%
Covered Lines: 1004
Relevant Lines: 1029

💛 - Coveralls

Copy link
Contributor

@mahajanrevant mahajanrevant left a comment

Choose a reason for hiding this comment

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

Good catch

@mahajanrevant mahajanrevant merged commit 268264b into master Feb 2, 2021
@goobta goobta deleted the hotfix-goobta-xfvb-overhead branch February 2, 2021 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cleanliness refactoring the code to make it more elegant
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants