Commit e08415d
authored
(e2e-fix) do not check for updated csv that is likely to be GC'd (#2837)
In the test `Operator Group cleanup csvs with bad namespace annotation`, the polling
logic that updates a copied csv with a bad annotation was checking to see if the
update was successful. However, once the copied csv is given a bad annotation, the CSV
is GC'd, and if the collection happens immediately, the polling logic fails. This fix
removes the logic that attempts to check the updated CSV, and instead relies on the
updateErr being nil to assert that the update was successful.
Signed-off-by: Anik Bhattacharjee <anikbhattacharya93@gmail.com>
Signed-off-by: Anik Bhattacharjee <anikbhattacharya93@gmail.com>1 parent 82d17f3 commit e08415d
1 file changed
+2
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2021 | 2021 | | |
2022 | 2022 | | |
2023 | 2023 | | |
| 2024 | + | |
2024 | 2025 | | |
2025 | 2026 | | |
2026 | | - | |
2027 | | - | |
2028 | | - | |
2029 | | - | |
2030 | | - | |
2031 | | - | |
2032 | | - | |
2033 | | - | |
| 2027 | + | |
2034 | 2028 | | |
2035 | 2029 | | |
2036 | 2030 | | |
| |||
0 commit comments