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 device/test_http_client tests #5309

Merged
merged 5 commits into from
Nov 7, 2018

Conversation

liebman
Copy link
Contributor

@liebman liebman commented Nov 5, 2018

update HTTPClient API usage
skip the second POST as end() has different semantics and nulls the client pointer
use bearssl in ssl tests
add delay in python side when shutting down http web server so MacOS does not complain about address already in use

liebman and others added 2 commits November 4, 2018 17:05
skip the second POST as end() has different semantics and nulls the client pointer
use bearssl in ssl tests
add delay in python side when shutting down http web server so MacOS does not complain about address already in use
Copy link
Collaborator

@earlephilhower earlephilhower left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

Just one niggle about the commented-out POST test. If it's complicated to fix, I would be OK approving this as-is (a working test is better than a dead one, even if incomplete!), but if it's not maybe add the couple lines and test httpClient.POST as well?

tests/device/test_http_client/test_http_client.ino Outdated Show resolved Hide resolved
update double POST test to insure no crash if POST called after end()
test now are for both AxTLS and BearSSL
Copy link
Collaborator

@earlephilhower earlephilhower left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM!

@devyte devyte merged commit a42c3c3 into esp8266:master Nov 7, 2018
@liebman liebman deleted the fix-device-test_http_client branch September 10, 2019 20: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.

3 participants