Tests marked with @FailureExpectedWithNewMetamodel will fail when using the new metamodel (hibernate.test.new_metadata_mappings=true) and validation of test failures (hibernate.test.validatefailureexpected=true).
The annotation should be removed if the test succeeds without it.