-
Notifications
You must be signed in to change notification settings - Fork 46
Description
Challenged tests
com.sun.ts.tests.websocket.ee.jakarta.websocket.session11.client.WSCClientIT
TCK Version
Jakarta WebSocket 2.2.0
Description
The com.sun.ts.tests.websocket.ee.jakarta.websocket.session11.client.WSCClientIT includes 3 client classes that are included in the deployment because they're in the com.sun.ts.tests.websocket.ee.jakarta.websocket.session11.client package. These 3 types should not be included as they're not needed in the deployment and only used on the client side.
com.sun.ts.tests.websocket.ee.jakarta.websocket.session11.client.AnnotatedBinaryClientcom.sun.ts.tests.websocket.ee.jakarta.websocket.session11.client.AnnotatedTextClientcom.sun.ts.tests.websocket.ee.jakarta.websocket.session11.client.AnnotatedThrowingClient
The com.sun.ts.tests.websocket.ee.jakarta.websocket.session11.client.AnnotatedThrowingClient in the deployment which does not have a no-arg constructor. This causes the deployment to fail and thus the tests do not run. Per the specification:
The class must have a public no-args constructor,
The other 2 have requirements on the following two types which are not included in the deploy:
com.sun.ts.tests.websocket.ee.jakarta.websocket.session11.common.AlternativeInputStreamDecoder.classcom.sun.ts.tests.websocket.ee.jakarta.websocket.session11.common.AlternativeReaderDecoder.class
Note I've updated the description here as I thought we needed to add the above two types to the deployment, see #579. However, it makes more sense to not include the clients in the deployment.
Additional context
The workaround is to remove the types from the deployment.