Skip to content

Commit 64b9535

Browse files
committed
add sleep
1 parent ee92743 commit 64b9535

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

main

-82.5 MB
Binary file not shown.

test/e2e/tests/test_serverless_cache_snapshot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import pytest
1818
import boto3
1919
import logging
20+
import time
2021

2122
from acktest.resources import random_suffix_name
2223
from acktest.k8s import resource as k8s
@@ -26,6 +27,7 @@
2627

2728
RESOURCE_PLURAL = "serverlesscachesnapshots"
2829
SERVERLESS_CACHE_PLURAL = "serverlesscaches"
30+
UPDATE_WAIT_SECS = 180
2931

3032

3133
@pytest.fixture(scope="module")
@@ -124,9 +126,7 @@ def test_create_delete_serverless_cache_snapshot(self, simple_serverless_cache_s
124126

125127
k8s.patch_custom_resource(ref, tag_updates)
126128

127-
assert k8s.wait_on_condition(
128-
ref, "ACK.ResourceSynced", "True", wait_periods=60
129-
)
129+
time.sleep(UPDATE_WAIT_SECS)
130130

131131
final_cr = k8s.get_resource(ref)
132132
snapshot_arn = final_cr['status']['ackResourceMetadata']['arn']

0 commit comments

Comments
 (0)