Closed shayancanonical closed 2 months ago
I think that there is still value in testing the exporter endpoint - I would not want to introduce a change that will break the integration with COS while the issue is being investigated. In essence, the test will still pass, just may take longer -> emulating real world behavior where a user forms a relation with COS but just takes some time to start sending metrics to COS
I think that 3mins vs 7mins is not too much of a difference to be honest. Perfectly valid in my view point
Counterpart of https://github.com/canonical/mysql-router-k8s-operator/pull/254
Summary
requests.get(stream=False)
to avoid open connections on the router exporter