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 without any cli options #981

Open
Tracked by #977
engelmi opened this issue Nov 6, 2024 · 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

@engelmi
Copy link
Member

engelmi commented Nov 6, 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 exists with code 1 when the bluechi-agent is not connected
  • it exits with code 0 when the bluechi-agent is connected


Tech hints

  • bluechi-is-online needs to run on the agent node
  • bluechi-is-online can be wrapped in a systemd unit and check the unit state inactive/failed (see the docs)
@engelmi engelmi changed the title without any cli options Add integration tests for bluechi-is-online without any cli options Nov 6, 2024
@mwperina mwperina added the enhancement New feature or request label Nov 6, 2024
@mwperina mwperina added this to the v0.10 milestone Nov 6, 2024
@mwperina mwperina added the jira Issues that are synced to Jira label Nov 6, 2024
@DanaOrr
Copy link

DanaOrr commented Nov 7, 2024

Please assign this ticket to me

@engelmi engelmi changed the title Add integration tests for bluechi-is-online without any cli options Add integration tests for bluechi-is-online agent without any cli options Nov 11, 2024
@engelmi engelmi added the testing This issue adds or improves the testing label Nov 11, 2024
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

3 participants