Commit 3c48ce8
authored
Attempt to stabilize exporter tests in light of bind-address in use issues (#154)
Counterpart of
canonical/mysql-router-k8s-operator#254
## Summary
1. Use `requests.get(stream=False)` to avoid open connections on the
router exporter
2. Split the two exporter tests into different files so that they end up
in different integration test groups
3. Use a much larger timeout (7mins) that the TIME_WAIT timeout
(60s/1min) to see if the snap daemon (mysql-router-exporter) will
restart successfully1 parent b12dcee commit 3c48ce8
File tree
7 files changed
+554
-259
lines changed- lib/charms
- data_platform_libs/v0
- tempo_k8s
- v1
- v2
- src
- relations
- tests/integration
7 files changed
+554
-259
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
| 334 | + | |
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| |||
2606 | 2606 | | |
2607 | 2607 | | |
2608 | 2608 | | |
| 2609 | + | |
| 2610 | + | |
| 2611 | + | |
| 2612 | + | |
| 2613 | + | |
| 2614 | + | |
| 2615 | + | |
| 2616 | + | |
2609 | 2617 | | |
2610 | 2618 | | |
2611 | 2619 | | |
| |||
2842 | 2850 | | |
2843 | 2851 | | |
2844 | 2852 | | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
| 2856 | + | |
| 2857 | + | |
| 2858 | + | |
| 2859 | + | |
| 2860 | + | |
| 2861 | + | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
| 2865 | + | |
| 2866 | + | |
| 2867 | + | |
2845 | 2868 | | |
2846 | 2869 | | |
2847 | 2870 | | |
| |||
0 commit comments