-
Notifications
You must be signed in to change notification settings - Fork 222
Run jobs in CI service tests #535
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
Conversation
|
||
print(f"Connecting to {cmdData.input_endpoint} with client ID '{cmdData.input_clientId}' with MQTT3...") | ||
|
||
connected_future = mqtt_connection.connect() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like futures (maybe something else, not sure) could be shared between mqtt3 and mqtt5. For example, future_connection_success
can be used for mqtt3.
# To emulate working on a job, spawn a thread that sleeps for a few seconds | ||
job_thread = threading.Thread( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Since this is a test, this part may be simplified
run jobs in CI
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.