mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-13 03:59:12 +00:00
Merge pull request #42081 from BerriAI/litellm_skip_bedrock_govcloud_batch_e2e
test(batches): skip the Bedrock GovCloud batch e2e until its secrets are provisioned
This commit is contained in:
commit
ccf5e8c93a
1 changed files with 17 additions and 0 deletions
|
|
@ -1056,6 +1056,23 @@ class TestBedrockBatchGovCloud:
|
|||
"llm.files.bedrock.govcloud_partition.nonstream.works",
|
||||
exercised_on=["batches", "files"],
|
||||
)
|
||||
@pytest.mark.skip(
|
||||
reason=(
|
||||
"The GovCloud credentials this test resolves are not provisioned in the e2e "
|
||||
"lane, so it fails on configuration rather than on the partition behavior it "
|
||||
"guards: the upload returns 500 'S3 bucket_name is required' because "
|
||||
"os.environ/AWS_GOVCLOUD_BATCH_S3_BUCKET resolves to nothing. None of "
|
||||
"AWS_GOVCLOUD_ACCESS_KEY_ID, AWS_GOVCLOUD_SECRET_ACCESS_KEY, "
|
||||
"AWS_GOVCLOUD_BATCH_S3_BUCKET or AWS_GOVCLOUD_BATCH_ROLE_ARN is injected into "
|
||||
"the stack: the runner podSpec mounts 29 individual secretKeyRef entries from "
|
||||
"litellm-provider-keys and no envFrom, and the string 'govcloud' appears nowhere "
|
||||
"in project-releaser. The commercial-partition Bedrock batch tests resolve their "
|
||||
"own os.environ/ bucket and pass, so the reference syntax is sound and only the "
|
||||
"GovCloud secrets are absent. Skipped rather than weakened because the assertions "
|
||||
"below are the correct contract. Remove this marker once the four secrets are "
|
||||
"provisioned and injected; do not relax the assertions to make it pass."
|
||||
)
|
||||
)
|
||||
def test_unified_file_upload_and_batch_create_in_govcloud(
|
||||
self, client: BatchClient, resources: ResourceManager
|
||||
) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue