Skip to content

Conversation

@stijnmoreels
Copy link
Member

@stijnmoreels stijnmoreels commented Nov 1, 2024

It just came to my attention that we best use WaitUntil.Completed instead of WaitUntil.Started so that even if people incorrectly use the fixture or not isolate their test enough and multiple calls gets made towards the same container name, we always know that after the dispose, the container gets deleted (if necessary).

This decreases performance a bit, but pays back in a more stable fixtures in instable environments.

If I would have complete control over the test suite, I might use WaitUntil.Started, but since we can't know where it all will be used, better be safe than sorry.

@stijnmoreels stijnmoreels requested a review from a team as a code owner November 1, 2024 12:21
@netlify
Copy link

netlify bot commented Nov 1, 2024

Deploy Preview for arcus-testing canceled.

Name Link
🔨 Latest commit a4acf1b
🔍 Latest deploy log https://app.netlify.com/sites/arcus-testing/deploys/6724c88e86c7f400088e1a8f

@arcus-automation
Copy link
Collaborator

🧪 Code coverage summary

Metric Value
Line coverage 🟢 92.8%
Branch coverage 🟢 81.7%

Great job! 😎 Your code coverage is higher than my caffeine levels! ☕

@stijnmoreels stijnmoreels merged commit 4b1b3ae into arcus-azure:main Nov 4, 2024
13 checks passed
@stijnmoreels stijnmoreels deleted the fix/safeguard-nosql-container-disposal branch June 20, 2025 05:14
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.

3 participants