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

Test mission protocol with dropped messages #10

Merged
merged 20 commits into from
Feb 20, 2019
Merged

Test mission protocol with dropped messages #10

merged 20 commits into from
Feb 20, 2019

Conversation

julianoes
Copy link
Contributor

@julianoes julianoes commented Feb 11, 2019

This adds dropping of incoming and outgoing messages for mission upload/download. The result is that the mission test breaks.

@julianoes julianoes requested a review from bkueng February 11, 2019 14:30
@julianoes julianoes changed the title [WIP] Test mission protocol with dropped messages Test mission protocol with dropped messages Feb 11, 2019
This includes the fix for reseting the intercepts.
For debugging purposes it's handy to build and install the Dronecode
SDK manually.
We don't clear the mission because that's not implemented yet.
This moves the config for how many of the messages to drop to the
config.
We are supposed to return true to keep a message, not true to drop it.
This way we should have more reproducible tests because the timing
matters less between incoming and outgoing messages.
Copy link
Collaborator

@bkueng bkueng left a comment

Choose a reason for hiding this comment

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

A couple of details, looks good otherwise.

@bkueng bkueng merged commit e149d01 into master Feb 20, 2019
@bkueng bkueng deleted the mission-drops branch February 20, 2019 10:28
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