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

bootstrap: improve tests to test timeout detection and restarting #1882

Merged
merged 5 commits into from
Jul 20, 2023

Conversation

Williangalvani
Copy link
Member

@Williangalvani Williangalvani commented Jul 18, 2023

no functional changes, just covering more cases with testing,

bootstrapper.run()
self.mock_response.json.return_value = {"repository": ["core"]}
assert bootstrapper.is_running("core") is True
# now make it stop responing to requests
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# now make it stop responing to requests
# now make it stop responding to requests

bootstrap/test_bootstrap.py Show resolved Hide resolved
@patrickelectric patrickelectric merged commit 663c56f into bluerobotics:master Jul 20, 2023
5 checks passed
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