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 --wait parameter #1000

Closed
Tracked by #977
mwperina opened this issue Dec 4, 2024 · 1 comment · Fixed by #1013
Closed
Tracked by #977

Add integration tests for bluechi-is-online agent with --wait parameter #1000

mwperina opened this issue Dec 4, 2024 · 1 comment · Fixed by #1013
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 Dec 4, 2024

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 would verify that:

  • It exits immediately with code 0 when the bluechi-agent is connected
  • If bluechi-agent is not connected upon bluechi-is-online execution, bluechi-is-online waits with specified timeout and return 0 if bluechi-agent get connected within this timeout
  • If bluechi-agent is not connected upon bluechi-is-online execution, bluechi-is-online waits with specified timeout and return non-zero if bluechi-agent doesn't get connected within this timeout


Tech hints

@mwperina mwperina added enhancement New feature or request testing This issue adds or improves the testing labels Dec 4, 2024
@mwperina mwperina added this to the v0.10 milestone Dec 4, 2024
@mwperina mwperina added the jira Issues that are synced to Jira label Dec 4, 2024
@DanaOrr
Copy link
Contributor

DanaOrr commented Dec 4, 2024

Please assign to me

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
2 participants