Skip to content

Commit

Permalink
Skip OWB tests for j9
Browse files Browse the repository at this point in the history
  • Loading branch information
skybber committed Mar 6, 2018
1 parent 81ea319 commit 500a30f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions plugin/hotswap-agent-owb-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,24 @@
</dependency>

</dependencies>
<profiles>
<profile>
<activation>
<jdk>[1.9,)</jdk>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ private void swapClasses(Class original, String swap) throws Exception {
public boolean result() throws Exception {
return !BeanClassRefreshAgent.reloadFlag;
}
}, 1000));
}));

// TODO do not know why sleep is needed, maybe a separate thread in owb refresh?
Thread.sleep(100);
Expand Down

0 comments on commit 500a30f

Please sign in to comment.