Commit b3ffd88
authored
test(e2e): retry post-recovery requests in decode-pod disruption spec (llm-d#1961)
* test(e2e): retry post-recovery requests in decode-pod disruption spec
The final recovery check sent unretried requests seconds after the EPP
deployment turned Available. Envoy's active gRPC health check of the
ext_proc cluster (10s interval) can lag actual EPP readiness in that
window, producing a local 500 with no healthy upstream and failing the
spec despite recovery having succeeded. Wrap the check in Eventually,
requiring three consecutive successes, consistent with the other
disruption specs.
Signed-off-by: nilig <nili.ifergan@gmail.com>
* test(e2e): share the post-recovery probe and verify completion content
The streaming disruption spec had the same unretried post-recovery loop
and the same exposure to transient gateway 500s. Both specs now poll a
shared probe with MustPassRepeatedly(3). tryCompletion verifies finish
reason and echoed text, matching runCompletion, so retry tolerance does
not weaken what the recovery check asserts.
Signed-off-by: nilig <nili.ifergan@gmail.com>
---------
Signed-off-by: nilig <nili.ifergan@gmail.com>1 parent 30385f8 commit b3ffd88
2 files changed
Lines changed: 33 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
86 | 99 | | |
87 | 100 | | |
88 | 101 | | |
| |||
112 | 125 | | |
113 | 126 | | |
114 | 127 | | |
115 | | - | |
| 128 | + | |
116 | 129 | | |
117 | 130 | | |
118 | 131 | | |
| |||
131 | 144 | | |
132 | 145 | | |
133 | 146 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
139 | 150 | | |
140 | 151 | | |
141 | 152 | | |
| |||
183 | 194 | | |
184 | 195 | | |
185 | 196 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
191 | 200 | | |
192 | 201 | | |
193 | 202 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | | - | |
143 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
144 | 151 | | |
145 | 152 | | |
146 | 153 | | |
| |||
0 commit comments