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 node with --wait parameter #1019

Open
Tracked by #977
mwperina opened this issue Jan 7, 2025 · 1 comment
Open
Tracked by #977
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 node 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 Jan 7, 2025
@mwperina mwperina added this to the v0.10 milestone Jan 7, 2025
@DanaOrr
Copy link
Contributor

DanaOrr commented Jan 7, 2025

Please assign to me

@mwperina mwperina added jira Issues that are synced to Jira and removed jira Issues that are synced to Jira labels Jan 7, 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

No branches or pull requests

2 participants