fix: return 400 when encoded s3 copy source is malformed (#244)

fix: replace silent exception swallowing and add per-test timeout in Python test suite

test: misc compatibility-tests cleanups

- Added sync comments to both main.tf files
- Created compatibility-tests/.dockerignore
- Cached CRC32 table in Node setup.ts
- Removed >/dev/null 2>&1 from 3 Dockerfiles

test: add missing .terraform.lock.hcl

chore: remove .terraform.lock.hcl
This commit is contained in:
Conor Heine authored and GitHub committed 2026-04-06 16:53:14 -05:00
1 parent d02a1d9a13
commit f4f1752b0d
17 files changed
+84 -51

No files matched your search

@@ -371,6 +371,30 @@ class S3IntegrationTest {
given().delete("/" + bucket);
}
@Test
@Order(21)
void copyObjectWithMalformedEncodedSourceReturns400() {
given()
.header("x-amz-copy-source", "/test-bucket/%ZZinvalid")
.when()
.put("/test-bucket/dest-key")
.then()
.statusCode(400)
.body(containsString("InvalidArgument"));
}
@Test
@Order(22)
void copyObjectWithEmptyBucketReturns400() {
given()
.header("x-amz-copy-source", "/key-only-no-bucket")
.when()
.put("/test-bucket/dest-key")
.then()
.statusCode(400)
.body(containsString("InvalidArgument"));
}
@Test
@Order(21)
void putLargeObject() {