Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(storage): use context value to skip transport tests (#6662)
Introduce the `skipTransportTestKey` `context.Value` key in order to skip specific integration tests for one of the two supported transports. The test uses one of the two helpers to create the proper context, either `skipGRPC` or `skipHTTP`, combined with the reason for skipping as the value, and the test runner will skip that transport if it is present in the context supplied to it, logging the reason with the Skip. Refactor and skip two tests, BucketLifecycle which is broken for gRPC atm, and MultiMessageWriteGRPC which is just meant to exercise edge cases in the gRPC Writer implementation.
- Loading branch information
Showing
1 changed file
with
92 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters