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

Poll the server from BlueapiClient #763

Open
callumforrester opened this issue Dec 17, 2024 · 0 comments
Open

Poll the server from BlueapiClient #763

callumforrester opened this issue Dec 17, 2024 · 0 comments
Labels
client Relates to client code enhancement New feature or request

Comments

@callumforrester
Copy link
Contributor

It would be useful to have a method for waiting for the server to be available and ready to accept plans in BlueapiClient. I think we can achieve this by making the _wait_for_reload public and modifying it slightly.

Acceptance Criteria

  • There is a method that polls until the server is
    • Up
    • Initialized
    • Ready to accept plans
  • This method polls the environment endpoint
  • There are unit tests for it
  • It is used in the system tests to make sure the server is up
@callumforrester callumforrester added enhancement New feature or request client Relates to client code labels Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client Relates to client code enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant