Skip to content

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

Merged
merged 30 commits into from
Dec 15, 2023
Merged

Run jobs in CI service tests #535

merged 30 commits into from
Dec 15, 2023

Conversation

alfred2g
Copy link
Contributor

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.

@alfred2g alfred2g requested a review from sfod December 14, 2023 17:23

print(f"Connecting to {cmdData.input_endpoint} with client ID '{cmdData.input_clientId}' with MQTT3...")

connected_future = mqtt_connection.connect()
Copy link
Contributor

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.

Comment on lines +195 to +196
# To emulate working on a job, spawn a thread that sleeps for a few seconds
job_thread = threading.Thread(
Copy link
Contributor

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

@alfred2g alfred2g merged commit 1d3e206 into main Dec 15, 2023
@alfred2g alfred2g deleted the run_jobs_in_ci branch December 15, 2023 04:56
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