Skip to content

Commit 49b3f80

Browse files
Tim Lanelukeseawalker
authored andcommitted
Continue polling FSx backup when state is PENDING
Previously we were only continuing to poll when the state was one of CREATING or TRANSFERRING. According to the boto3 docs, we should also handle the PENDING state as well. Signed-off-by: Tim Lane <[email protected]>
1 parent 1a33d8b commit 49b3f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration-tests/tests/storage/test_fsx_lustre.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
from tests.common.schedulers_common import get_scheduler_commands
2626

27-
BACKUP_NOT_YET_AVAILABLE_STATES = {"CREATING", "TRANSFERRING"}
27+
BACKUP_NOT_YET_AVAILABLE_STATES = {"CREATING", "TRANSFERRING", "PENDING"}
2828
# Maximum number of minutes to wait past when an file system's automatic backup is scheduled to start creating.
2929
# If after this many minutes past the scheduled time backup creation has not started, the test will fail.
3030
MAX_MINUTES_TO_WAIT_FOR_AUTOMATIC_BACKUP_START = 5

0 commit comments

Comments
 (0)