Skip to content

Commit

Permalink
HSEARCH-2951 Run all tests except WildFly server based using illegal-…
Browse files Browse the repository at this point in the history
…access=deny
  • Loading branch information
Sanne committed Jan 22, 2018
1 parent 2b4e01b commit 52c1743
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions integrationtest/performance/orm/pom.xml
Expand Up @@ -28,6 +28,9 @@
<scenario></scenario>
<serverName>wildfly-${wildflyVersion}</serverName>
<jbosshome>${project.build.directory}/${serverName}/</jbosshome>

<!-- Relax the JVM restrictions for integration tests, when using Jigsaw -->
<additionalRuntimeArgLine>${additionalRuntimeArgLineForWildFyTests}</additionalRuntimeArgLine>
</properties>

<dependencyManagement>
Expand Down
3 changes: 3 additions & 0 deletions integrationtest/wildfly/pom.xml
Expand Up @@ -31,6 +31,9 @@
<byteman.agent.options>script:${basedir}${file.separator}src${file.separator}test${file.separator}resources${file.separator}disablejpadapters.btm,script:${basedir}${file.separator}src${file.separator}test${file.separator}resources${file.separator}jsr352${file.separator}JobInterruptor.btm</byteman.agent.options>
<test.hibernate.search.module.slot>main</test.hibernate.search.module.slot>
<test.hibernate.orm.module.slot>${hibernateShortVersion}</test.hibernate.orm.module.slot>

<!-- Relax the JVM restrictions for integration tests, when using Jigsaw -->
<additionalRuntimeArgLine>${additionalRuntimeArgLineForWildFyTests}</additionalRuntimeArgLine>
</properties>

<dependencyManagement>
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Expand Up @@ -1888,7 +1888,8 @@ org.hibernate.search.spi.SearchIntegratorBuilder#buildSearchIntegrator()
<jdk>9</jdk>
</activation>
<properties>
<additionalRuntimeArgLine>-Djdk.attach.allowAttachSelf=true --add-modules java.xml.bind --add-opens=java.base/java.lang=ALL-UNNAMED</additionalRuntimeArgLine>
<additionalRuntimeArgLineForWildFyTests>-Djdk.attach.allowAttachSelf=true --add-modules java.xml.bind --add-opens=java.base/java.lang=ALL-UNNAMED</additionalRuntimeArgLineForWildFyTests>
<additionalRuntimeArgLine>${additionalRuntimeArgLineForWildFyTests} --illegal-access=deny</additionalRuntimeArgLine>
</properties>
<modules>
<module>integrationtest/jdk9-modules</module>
Expand Down

0 comments on commit 52c1743

Please sign in to comment.