Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
fix: Fix intermittent contract test failures on M1 laptops (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncloudioj authored Mar 3, 2023
1 parent 2c09f9f commit 6c962d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion test-engineering/contract-tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ services:
CONTILE_ADM_PARTNER_ID: partner_id_test
CONTILE_ADM_HAS_LEGACY_IMAGE: '["Example ORG","Example COM"]'
# Timeout requests to the ADM server after this many seconds (default: 5)
CONTILE_ADM_TIMEOUT: 2
# Use larger timeouts to mitigate the network latency issues on M1 laptops
CONTILE_ADM_TIMEOUT: 10
CONTILE_CONNECT_TIMEOUT: 10
CONTILE_DEBUG: 1
CONTILE_HOST: 0.0.0.0
CONTILE_HUMAN_LOGS: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ phone:
content: {}

ios:
delay: 5.0
# Contile uses a 10-seconds timeout in contract tests, make the delay
# slightly longer than that
delay: 12.0
status_code: 200
headers: []
content:
Expand Down

0 comments on commit 6c962d1

Please sign in to comment.