Skip to content

TestClientSupportedCompressors fails if other tests register compressors #7960

@arjan-bal

Description

@arjan-bal

While adding a new compressor test in #7938, it was seen that registering a new compressor during one test causes TestClientSupportedCompressors to fail. TestClientSupportedCompressors verifies the list of compressors supported by clients. If a test compressor is registered in the same test file, it shows up in the list of supported compressors, failing the test, example failure logs.

There is a deprecated WithCompressor, dial option that can be used without registering a compressor. We should find a way to ensure that tests don't influence each other in such a way.

Metadata

Metadata

Assignees

Labels

Area: TestingIncludes tests and testing utilities that we have for unit and e2e tests within our repo.P2Type: Testing

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions