Skip to content

Commit a2ce3e1

Browse files
authored
Increase e2e tests timeout value for Table stream specification (#100)
In an attempt to fix the flakiness of dynamodb Table tests... By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent a265dd5 commit a2ce3e1

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

test/e2e/tests/test_table.py

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,19 @@
1414
"""Integration tests for the DynamoDB Table API.
1515
"""
1616

17-
import boto3
18-
import pytest
19-
import time
2017
import logging
18+
import time
2119
from typing import Dict, Tuple
2220

23-
from acktest.resources import random_suffix_name
24-
from acktest.k8s import resource as k8s
21+
import boto3
22+
import pytest
2523
from acktest import tags
26-
from e2e import (
27-
service_marker, CRD_GROUP, CRD_VERSION,
28-
load_dynamodb_resource, wait_for_cr_status,
29-
get_resource_tags,
30-
)
24+
from acktest.k8s import resource as k8s
25+
from acktest.resources import random_suffix_name
26+
from e2e import (CRD_GROUP, CRD_VERSION, condition, get_resource_tags,
27+
load_dynamodb_resource, service_marker, table,
28+
wait_for_cr_status)
3129
from e2e.replacement_values import REPLACEMENT_VALUES
32-
from e2e import condition
33-
from e2e import table
3430

3531
RESOURCE_PLURAL = "tables"
3632

@@ -352,7 +348,7 @@ def test_enable_stream_specification(self, table_lsi):
352348
table.wait_until(
353349
table_name,
354350
table.stream_specification_matches(False),
355-
timeout_seconds=MODIFY_WAIT_AFTER_SECONDS,
351+
timeout_seconds=MODIFY_WAIT_AFTER_SECONDS*3,
356352
interval_seconds=3,
357353
)
358354

0 commit comments

Comments
 (0)