canonical / mongodb-operator

Charmed solution for MongoDB
Apache License 2.0
12 stars 14 forks source link

[DPE-4263] fix errors for statuses in TLS sharding tests #412

Closed MiaAltieri closed 6 months ago

MiaAltieri commented 6 months ago

Issue

tests for TLS tests are consistently failing due to status checks failing see this release run

Solution

as it turns out the tests do not wait for the application to go into the blocked state which is why the tests fail. By waiting for blocked we wait for t he status hook to get called and update the messages in the units