-
Task
-
Resolution: Done
-
Minor
-
3.1.0.Beta2
-
None
org.jboss.xnio.Xnio has a default instance which can be acquired by calling Xnio.getInstance(). The problem is that once this default instance is closed, it cannot be reused.
The cobertura maven plugin executes all tests in the same JVM, so once the default Xnio instance is closed, subsequent tests fail.
The workaround is to always use a unique Xnio instance, which can be created by calling
public static Xnio getInstance(final String name) throws IOException;