Commit ee89983
Handle "TRANSFERRING" state when waiting for FSx backup
When the FSx backup feature was launched backups remained in the
"CREATING" state (as per the "Lifecycle" attribute from the output of
the DescribeBackups API) until the attempted backup creation was
finished.
In order to address a bug, an additional "TRANSFERRING" state was added.
Thus, a successfully created backup is expected to pass through the
"CREATING" and then "TRANSFERRING" states.
Where before the FSx backup test assumed any state other than "CREATING"
meant backup creation had finished, this change enables the polling
functions to wait until its no longer in the "TRANSFERRING" state.
Signed-off-by: Tim Lane <[email protected]>1 parent 6f0f53f commit ee89983
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
304 | 306 | | |
305 | 307 | | |
306 | 308 | | |
307 | | - | |
| 309 | + | |
308 | 310 | | |
309 | 311 | | |
310 | 312 | | |
| |||
337 | 339 | | |
338 | 340 | | |
339 | 341 | | |
340 | | - | |
| 342 | + | |
341 | 343 | | |
342 | 344 | | |
343 | 345 | | |
| |||
0 commit comments