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

TODO: Create automated tests #1

Open
KenBarr opened this issue Aug 10, 2016 · 0 comments
Open

TODO: Create automated tests #1

KenBarr opened this issue Aug 10, 2016 · 0 comments

Comments

@KenBarr
Copy link
Contributor

KenBarr commented Aug 10, 2016

As per top level README:

  1. Publish before initial connection. Async MQTT client calls connect then publish before connectComplete() is called.
  2. Ensure message is stored as per persistent model then published once connection is established.
  3. Cause reconnection. Once connected, disconnect the client at the message broker.
  4. Ensure the client reconnects, validate subscription still exists for Clean=0 and do not exist for clean=1.
  5. Publish while reconnecting. Connect client, publish at a rate of ~20/sec. Disconnect client at the broker.
  6. Ensure reconnection and messages losslessly published in correct order.
  7. Cause failover. Once connected, shut down access to connected MQTT router.
  8. Ensure failover to next broker in host list. Subscriptions should re-add as per clean flag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant