Commit 879207a
committed
smoketest: T3871: discard staged changes after an expected commit failure
Two ethtool test cases intentionally trigger a commit failure for an
unsupported driver, then move on to the next interface in the same loop.
Commit does not auto-rollback on failure and the session is shared across
the loop, so the failed change stayed staged and could silently carry into
the next interface's commit - failing an otherwise passing interface if it
followed an unsupported one. Discard the candidate configuration right
after each expected failure, matching the pattern already used elsewhere in
the suite.
Assisted-by: Claude:claude-sonnet-51 parent 1878cc3 commit 879207a
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
232 | 236 | | |
233 | 237 | | |
234 | 238 | | |
| |||
300 | 304 | | |
301 | 305 | | |
302 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
303 | 311 | | |
304 | 312 | | |
305 | 313 | | |
| |||
0 commit comments