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

DM-38279: Wait for first image service run during startup #56

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

rra
Copy link
Member

@rra rra commented Mar 29, 2023

We don't want to start answering user requests until we've populated our list of available images, since otherwise the spawner form may be bogus. Implement this by not returning from start until the first update pass is complete.

Don't start background services by default when using a test factory and update the tests that use it to start the background services themselves.

We don't want to start answering user requests until we've populated
our list of available images, since otherwise the spawner form may be
bogus. Implement this by not returning from start until the first
update pass is complete.

Don't start background services by default when using a test factory
and update the tests that use it to start the background services
themselves.
@rra rra requested a review from athornton March 29, 2023 23:54
Copy link
Member

@athornton athornton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The factory as context manager took some getting my head around, but this seems like a good idea.

@rra rra merged commit 45a6ea6 into main Mar 30, 2023
@rra rra deleted the tickets/DM-38279 branch March 30, 2023 20:47
rra pushed a commit that referenced this pull request Nov 3, 2023
tickets/DM-41198: add postgresql-client to image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants