Skip to content

Commit

Permalink
fix flaky test_backuptarget_invalid by increase loop time
Browse files Browse the repository at this point in the history
Signed-off-by: Chris <[email protected]>
  • Loading branch information
chriscchien authored and David Ko committed Nov 15, 2023
1 parent 41d54e8 commit 054158e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manager/integration/tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
from common import BACKUP_COMPRESSION_METHOD_NONE
from common import create_and_wait_deployment
from common import get_custom_object_api_client
from common import RETRY_COUNTS_SHORT

from backupstore import backupstore_delete_volume_cfg_file
from backupstore import backupstore_cleanup
Expand Down Expand Up @@ -5547,7 +5548,7 @@ def test_backuptarget_invalid(apps_api, # NOQA
snap = create_snapshot(client, volume_name)
volume.snapshotBackup(name=snap.name)

for i in range(RETRY_COMMAND_COUNT):
for i in range(RETRY_COUNTS_SHORT):
api = get_custom_object_api_client()
backups = api.list_namespaced_custom_object("longhorn.io",
"v1beta2",
Expand Down

0 comments on commit 054158e

Please sign in to comment.