Skip to content

Commit 2afbd7d

Browse files
committed
add a delay to see what happens
1 parent 2b2e9b8 commit 2afbd7d

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/integration-test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ jobs:
5656
run: |
5757
./bin/deploy.sh
5858
59-
- name: Run Integration Tests
60-
env:
61-
AWS_DEFAULT_REGION: us-east-1
62-
AWS_REGION: us-east-1
63-
AWS_ACCESS_KEY_ID: test
64-
AWS_SECRET_ACCESS_KEY: test
65-
run: |
66-
pytest tests/test_infra.py
59+
# - name: Run Integration Tests
60+
# env:
61+
# AWS_DEFAULT_REGION: us-east-1
62+
# AWS_REGION: us-east-1
63+
# AWS_ACCESS_KEY_ID: test
64+
# AWS_SECRET_ACCESS_KEY: test
65+
# run: |
66+
# pytest tests/test_infra.py
6767

6868
- name: Run Outages Tests
6969
env:

tests/test_outage.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ def test_dynamodb_outage(api_endpoint):
4444
with fault_configuration(fault_rules=[outage_rule]):
4545
print("DynamoDB outage initiated within context.")
4646

47+
time.sleep(2) # Add a 2-second delay
48+
4749
# Attempt to create a quiz during the outage
4850
create_quiz_payload = {
4951
"Title": "Outage Test Quiz",

0 commit comments

Comments
 (0)