test: enable GCP blobstore conformance tests#232
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #232 +/- ##
============================================
+ Coverage 82.63% 82.64% +0.01%
Complexity 125 125
============================================
Files 152 152
Lines 8590 8590
Branches 1042 1042
============================================
+ Hits 7098 7099 +1
+ Misses 1001 1000 -1
Partials 491 491
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
We already have many recorded files under the GCP conformance tests. Could you please confirm that this PR does not introduce any duplicate record files?
7300ce3 to
3b9b243
Compare
5db5813 to
6063319
Compare
| runOperationsThatShouldNotFail("testInvalidCredentials", bucketClient); | ||
| } |
There was a problem hiding this comment.
nit:tabs added by AI?
There was a problem hiding this comment.
The initial spacing was misplaced. The alignment is correct now.
163bae2 to
3d8d71a
Compare
| default List<String> getWiremockExtensions() { | ||
| return Collections.emptyList(); | ||
| } |
There was a problem hiding this comment.
let's remove the unnecessary code
403a608 to
de6cb0d
Compare
|
|
||
| import java.io.IOException; | ||
| import java.net.URI; | ||
| import java.util.List; |
There was a problem hiding this comment.
Is this import required ?
There was a problem hiding this comment.
Removed, thanks for catching
| import java.util.ArrayList; | ||
| import java.util.Arrays; | ||
| import java.util.Collection; | ||
| import java.util.Collections; |
There was a problem hiding this comment.
Is this import required ?
There was a problem hiding this comment.
Removed, thanks for catching
|
Referring to the latest AbstractBlobStoreIT.java file, there are a total of 12 different places from where you need to remove this to enable GCP conformance tests. Search phrase used : ==> Are we not enabling GCP blobstore conformance tests for all of them ? |
PR description has been updated with the reasoning. |
e3c085e to
756a0b0
Compare
… testUploadWithKmsKey_happyPath, testUploadWithKmsKey_emptyKmsKeyId, testUploadWithKmsKey_nullKmsKeyId, testRangedReadWithKmsKey, testVersionedCopyFrom
756a0b0 to
dd8ee89
Compare
Summary
Enables a bunch of blob store conformance tests for the GCP substrate. The remaining tests will require some special transformer logic or changes to core logic. So that's a bigger discussion and will be addressed in a follow-up work item.
Some conventions to follow
docstore:for document store module,blobstorefor Blob Store moduletest:perf: