Commit c88ae3f
committed
[test]Fix PVC handling in SimulateDeployment
In #277 it was wrongly assumed that a StatefulSet of Deployment only has
a single container spec and the volume mounts only removed from the
first container. This leads to test failures in module using multiple
containers per Pod.
Now this is fixed by dropping the mounts from each container.1 parent d886a78 commit c88ae3f
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
0 commit comments