IncompatibleClassChangeError on EAP 7.0.5
When building on EAP 7.0.5, the Arquillian integration tests fail due to a deployment error, apparently due to a change in Hibernate. EAP 7.0.4 is not affected.
The good news is, this shouldn't affect production deployments, only testing (because we don't deploy hibernate-testing.jar). Of course it's not good that we can't run our integration tests on the correct version of EAP.
Apparently the version of hibernate-testing needs to match the version of hibernate-core provided by the platform. Unfortunately, that means we need one version (<= 5.0.11.Final) of hibernate-testing for WildFly 10.1 and EAP 7.0.4, but a later version (5.0.12.Final) for EAP 7.0.5.
But I think we can do without hibernate-testing by running Arquillian tests against Infinispan caches (just like production, and functional tests), which should solve the problem.