Skip to content

Commit dc76d1f

Browse files
committed
chore: increase retires for deadline client in worker fixture
Signed-off-by: Marshall Jackson <[email protected]>
1 parent 6fdfb04 commit dc76d1f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: src/deadline_test_fixtures/fixtures.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
import botocore
55
import botocore.client
66
import botocore.loaders
7+
import botocore.config
8+
from botocore.config import Config
79
import boto3
810
import glob
911
import json
@@ -591,7 +593,9 @@ def worker(
591593
ec2_client = boto3.client("ec2")
592594
s3_client = boto3.client("s3")
593595
ssm_client = boto3.client("ssm")
594-
deadline_client = boto3.client("deadline")
596+
597+
config = Config(retries={"max_attempts": 10, "mode": "standard"})
598+
deadline_client = boto3.client("deadline", config=config)
595599

596600
worker = ec2_worker_type(
597601
ec2_client=ec2_client,

0 commit comments

Comments
 (0)