-
Notifications
You must be signed in to change notification settings - Fork 435
Closed
Labels
kind/bugFeature doesn't work as expected.Feature doesn't work as expected.
Description
grpc-swift uses test discovery on Linux to find the CI tests. This mostly works well, but unlike on Darwin (where tests are discovered by querying the Objective-C runtime), on Linux the tests are discovered only by source code analysis. This analysis does not work with subclasses. As a result, any testing strategy that relies on subclasses discovering tests declared in parent classes fails to run on Linux. At a bare minimum, the following do not run on Linux:
FunctionalTestsInsecureTransportsubclassesFunctionalTestsAnonymousClientandFunctionalTestsMutualAuthenticationdo not run.GRPCInsecureInteroperabilityTestssubclassGRPCSecureInteroperabilityTestsdoes not run.- The
ServerThrowingTestssubclassesServerDelayedThrowingTests,ClientThrowingWhenServerReturningErrorTests,ServerErrorTransformingTestsdo not run.
All of these need to be rewritten to expose an entry point for the test in all subclasses.
Metadata
Metadata
Assignees
Labels
kind/bugFeature doesn't work as expected.Feature doesn't work as expected.