Hello,

I have a question about the test DataSourcePassivationDependencyTest (https://github.com/cdi-spec/cdi-tck/blob/1.1/impl/src/main/java/org/jboss/cdi/tck/tests/context/passivating/dependency/resource/persistence/DataSourcePassivationDependencyTest.java)

In this test a DataSource is injected in the passivation capable bean Pool (https://github.com/cdi-spec/cdi-tck/blob/1.1/impl/src/main/java/org/jboss/cdi/tck/tests/context/passivating/dependency/resource/persistence/Pool.java) and according to the spec the DataSource should be Serializable in this case. In this way the test requires the DataSource to be Serializable, but actually DataSources may not be Serializable. There are DataSource implementations which are not, and with such an implementation the test fails.

Is this expected, that all CDI implementations are used with Serializable DataSources?

Regards,
Lazar