Skip to content

fix(tests): make mock_aws_config Windows compatible#1142

Open
Ashutosh0x wants to merge 1 commit intoanthropics:mainfrom
Ashutosh0x:fix/bedrock-tests-windows
Open

fix(tests): make mock_aws_config Windows compatible#1142
Ashutosh0x wants to merge 1 commit intoanthropics:mainfrom
Ashutosh0x:fix/bedrock-tests-windows

Conversation

@Ashutosh0x
Copy link

This PR fixes pre-existing failures in Bedrock integration tests on Windows by making the mock_aws_config fixture Windows-friendly. It handles NamedTemporaryFile cleanup manually to avoid access issues and ensures AWS_SDK_LOAD_CONFIG=1 is set for reliable configuration loading.

@Ashutosh0x Ashutosh0x requested a review from a team as a code owner January 22, 2026 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant