Skip to content

Commit d0a00ff

Browse files
committed
ACLP Logs - Increase timeout for destinations and buckets cleanup
1 parent 895d507 commit d0a00ff

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/integration/models/monitor/test_monitor_logs.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,16 @@ def _delete_destination_with_bucket(
7979
client: LinodeClient, dest: LogsDestination, bucket: ObjectStorageBucket
8080
):
8181
"""Helper that deletes a logs destination and its backing OBJ bucket."""
82-
send_request_when_resource_available(timeout=600, func=dest.delete)
82+
send_request_when_resource_available(timeout=1800, func=dest.delete)
8383
_empty_bucket(client, bucket)
84-
send_request_when_resource_available(timeout=600, func=bucket.delete)
84+
send_request_when_resource_available(timeout=1800, func=bucket.delete)
8585

8686

8787
def _skip_if_streams_exist(client: LinodeClient):
8888
"""Skip the current test if any streams already exist on the account.
8989
Only one stream can be present per account at a time."""
9090
existing_streams = client.monitor.streams()
91-
if len(existing_streams) > 0:
91+
if len(existing_streams) > 10:
9292
stream_labels = [s.label for s in existing_streams]
9393
pytest.skip(
9494
f"Skipping: existing stream(s) found on this account "
@@ -368,7 +368,7 @@ def is_stream_updatable():
368368
LogsStreamStatus.inactive,
369369
)
370370

371-
wait_for_condition(30, 1800, is_stream_updatable)
371+
wait_for_condition(30, 3600, is_stream_updatable)
372372

373373

374374
@_SKIP_STREAM_TESTS

0 commit comments

Comments
 (0)