@RequiresDialect(value = H2Dialect.class) should omit test case execution against CUBRIDDialect. No need to use @SkipForDialect annotation. CUBRIDDialect does not extend H2Dialect, but try @RequiresDialect(value = H2Dialect.class, strictMatching = true). When I change hibernate.dialect property in hibernate-core/src/test/resources/hibernate.properties to org.hibernate.dialect.CUBRIDDialect, and run MultiLineImportFileTest from my IDE, it is skipped correctly.
Maybe you have got the environment incorrectly setup. Are other test classes that require H2 dialect executed against CUBRID database? Can you provide me with standard output of MultiLineImportFileTest test execution (find it in hibernate-core/target/reports/tests/)? Maybe CommandExtractorServiceTest is the one that fails? IMO we could deal with this issue offline (preferably email: lukasz dot antoniak at gmail dot com).
@RequiresDialect(value = H2Dialect.class) should omit test case execution against CUBRIDDialect. No need to use @SkipForDialect annotation. CUBRIDDialect does not extend H2Dialect, but try @RequiresDialect(value = H2Dialect.class, strictMatching = true). When I change hibernate.dialect property in hibernate-core/src/test/resources/hibernate.properties to org.hibernate.dialect.CUBRIDDialect, and run MultiLineImportFileTest from my IDE, it is skipped correctly.
Maybe you have got the environment incorrectly setup. Are other test classes that require H2 dialect executed against CUBRID database? Can you provide me with standard output of MultiLineImportFileTest test execution (find it in hibernate-core/target/reports/tests/)? Maybe CommandExtractorServiceTest is the one that fails? IMO we could deal with this issue offline (preferably email: lukasz dot antoniak at gmail dot com).