-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Use unit testing mock for the service calls in repository-gcs #28960
Copy link
Copy link
Closed
Labels
:Distributed/Snapshot/RestoreAnything directly related to the `_snapshot/*` APIsAnything directly related to the `_snapshot/*` APIs>enhancementhelp wantedadoptmeadoptme
Description
In the repository-gcs plugin, many tests rely on the GoogleCloudServer utility class to simulate calls to the Google Cloud Storage API.
While GoogleCloudServer is really useful in fixtures like GoogleCloudStorageFixture, it would be better if the following test classes use a more pure unit testing mock for the service calls inside the unit tests:
- GoogleCloudStorageBlobStoreContainerTests
- GoogleCloudStorageBlobStoreRepositoryTests
- GoogleCloudStorageBlobStoreTests
Related to #28788 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Distributed/Snapshot/RestoreAnything directly related to the `_snapshot/*` APIsAnything directly related to the `_snapshot/*` APIs>enhancementhelp wantedadoptmeadoptme
Type
Fields
Give feedbackNo fields configured for issues without a type.