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

tests: net: mqtt: Fix failure at disconnect #22372

Merged
merged 1 commit into from
Jan 31, 2020

Conversation

rlubos
Copy link
Contributor

@rlubos rlubos commented Jan 31, 2020

It's no longer needed to call mqtt_input after mqtt_disconnect.
Doing this will actually return an error as the MQTT connection is no
longer active after calling mqtt_disconnect.

Fixes #22360

Signed-off-by: Robert Lubos robert.lubos@nordicsemi.no

@rlubos rlubos requested a review from vanti January 31, 2020 13:15
@zephyrbot zephyrbot added area: Networking area: Tests Issues related to a particular existing or missing test labels Jan 31, 2020
It's no longer needed to call `mqtt_input` after `mqtt_disconnect`.
Doing this will actually return an error as the MQTT connection is no
longer active after calling `mqtt_disconnect`.

Fixes zephyrproject-rtos#22360

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
@jukkar jukkar merged commit ac12066 into zephyrproject-rtos:master Jan 31, 2020
@rlubos rlubos deleted the mqtt/fix-tests branch March 12, 2020 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking area: Tests Issues related to a particular existing or missing test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test_mqtt_disconnect in mqtt_pubsub fails
3 participants