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

Don't assume server supports all test types #216

Merged
merged 1 commit into from
Feb 17, 2017
Merged

Don't assume server supports all test types #216

merged 1 commit into from
Feb 17, 2017

Conversation

bassosimone
Copy link
Contributor

The NDT client assumes that the server supports all test types and the official NDT server respects this assumption.

However, the neubot/botticelli server only implements TEST_META, TEST_S2C, and TEST_S2C.

Therefore, when using the NDT client with a botticelli server, the client crahes in processing the results of the TEST_MID that however has not been executed.

Fix by making sure that, when processing results, we use a bitmak where only bits corresponding to tests that run are actually set.

(There is also another reason why NDT client crashes when testing with botticelli, addressed by neubot/botticelli#18.)

Problems between NDT client and botticelli reported by @nkinkade, thanks!

The NDT client assumes that the server supports all test types and the
official NDT server respects this assumption.

However, the [neubot/botticelli](https://github.com/neubot/botticelli)
server only implements TEST_META, TEST_S2C, and TEST_S2C.

Therefore, when using the NDT client with a botticelli server, the
client crahes in processing the results of the TEST_MID that however
has not been executed.

Fix by making sure that, when processing results, we use a bitmak where
only bits corresponding to tests that run are actually set.

(There is also another reason why NDT client crashes when testing with
botticelli, addressed by neubot/botticelli#18.)

Problems between NDT client and botticelli reported by @nkinkade, thanks!
@pboothe
Copy link
Contributor

pboothe commented Feb 17, 2017

Thanks for fixing up web100clt!

@pboothe pboothe merged commit f3b2ae2 into ndt-project:master Feb 17, 2017
@bassosimone bassosimone deleted the fix/servers_supporting_only_some_tests branch February 17, 2017 17:12
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