Skip to content

Commit

Permalink
chore: increase retires for deadline client in worker fixture
Browse files Browse the repository at this point in the history
Signed-off-by: Marshall Jackson <amarsjac@amazon.com>
  • Loading branch information
amarsjac committed Nov 27, 2024
1 parent 6fdfb04 commit dc76d1f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/deadline_test_fixtures/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import botocore
import botocore.client
import botocore.loaders
import botocore.config
from botocore.config import Config
import boto3
import glob
import json
Expand Down Expand Up @@ -591,7 +593,9 @@ def worker(
ec2_client = boto3.client("ec2")
s3_client = boto3.client("s3")
ssm_client = boto3.client("ssm")
deadline_client = boto3.client("deadline")

config = Config(retries={"max_attempts": 10, "mode": "standard"})
deadline_client = boto3.client("deadline", config=config)

worker = ec2_worker_type(
ec2_client=ec2_client,
Expand Down

0 comments on commit dc76d1f

Please sign in to comment.