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

Add integration tests for bluechi-is-online agent with --monitor parameter #1021

Closed
Tracked by #977
mwperina opened this issue Jan 7, 2025 · 2 comments · Fixed by #1025
Closed
Tracked by #977

Add integration tests for bluechi-is-online agent with --monitor parameter #1021

mwperina opened this issue Jan 7, 2025 · 2 comments · Fixed by #1025
Assignees
Labels
enhancement New feature or request jira Issues that are synced to Jira testing This issue adds or improves the testing
Milestone

Comments

@mwperina
Copy link
Member

mwperina commented Jan 7, 2025

Please describe what you would like to see

In #962 the new package bluechi-is-online was introduced. However, adding integration tests was postponed.

A basic integration test for bluechi-is-online agent --monitor would verify that:

  • It exits immediately with non-zero result when the bluechi-agent is not connected
  • It continues monitoring the agent when the agent is connected, but it exits with non-zero status immediately after agent is disconnected


Tech hints

@mwperina mwperina added enhancement New feature or request testing This issue adds or improves the testing labels Jan 7, 2025
@mwperina mwperina added this to the v0.10 milestone Jan 7, 2025
@nsimsolo
Copy link
Contributor

nsimsolo commented Jan 7, 2025

Please assign this ticket to me

@engelmi
Copy link
Member

engelmi commented Jan 15, 2025

Done in #1025. Closing.

@engelmi engelmi closed this as completed Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request jira Issues that are synced to Jira testing This issue adds or improves the testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants