Commit d3ff09d
test/e2e/upgrade: ensure ClusterOperators test always produces a result
The ClusterOperators test was defined as a deferred function inside the
clusterUpgrade function, which meant it would not run if the parent test
"Cluster should remain functional during upgrade" failed before calling
clusterUpgrade (e.g., during config loading or upgrade context setup).
Move the deferred test to the parent test scope so it always runs and
produces a result, even when earlier tests fail. Also remove the duplicate
non-deferred version that only ran on success.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 523d558 commit d3ff09d
1 file changed
+14
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
180 | 194 | | |
181 | 195 | | |
182 | 196 | | |
| |||
690 | 704 | | |
691 | 705 | | |
692 | 706 | | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | 707 | | |
708 | 708 | | |
709 | 709 | | |
| |||
0 commit comments