Closed pkosiec closed 2 years ago
Integration tests failed during Capact iunstallation, but the previous run was successful (https://github.com/capactio/capact/actions/runs/1900095690) - and also this PR doesn't change anything related to integration tests, so I'm merging this without retry.
Description
Changes proposed in this pull request:
dotenv
provider. Thevault
provider needs to be testedTODO
Notes
Lint failing because of timeout. Don't worry about it - The job will be green after review 🙂
Testing
To regenerate the gRPC code, run:
To run example calls against the gRPC service:
Create AWS security credentials with
SecretsManagerReadWrite
policy.Export environment variables:
Run the server:
Now let's use Go generated gRPC client to to see how the server behaves. Run the example
pkg/hub/api/grpc/storage_backend/example_test.go
.To run it, you can e.g. change the
func ExampleNewStorageBackendClient() {
tofunc TestE2EScenario(t *testing.T) {
and run it as an usual test.Change the line 12 of this test and run it again:
Related issue(s)
Resolves #637