You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e353f6f
Browse filesBrowse the repository at this point in the historyBrowse files
test(seaweedfs): add deterministic SigV4 signature-verification test
The quota tests only checked that an Authorization header exists; they
did not verify the SigV4 canonical query, payload hash, or signed
headers against a known signature. A signing mismatch would therefore
pass the suite and make every quota operation fail against SeaweedFS.
Add a test that independently signs the same request through
AWSS3V4Signer and asserts the Authorization, x-amz-content-sha256, and
x-amz-date headers match exactly.
Copy file name to clipboardExpand all lines: plugins/storage/object/seaweedfs/src/test/java/org/apache/cloudstack/storage/datastore/driver/SeaweedFSObjectStoreDriverImplTest.java
+81Lines changed: 81 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -357,6 +357,87 @@ public void testSetBucketQuotaRejects3xx() throws Exception {
0 commit comments