mirror of https://github.com/apache/cloudstack.git
Activate NioTest following changes in CLOUDSTACK-9348 PR #1549
The first PR #1493 re-enabled the NioTest but not the new PR #1549. Signed-off-by: Marc-Aurèle Brothier <m@brothier.org>
This commit is contained in:
parent
bef2236d33
commit
02311c8bbe
|
|
@ -208,7 +208,6 @@
|
|||
<excludes>
|
||||
<exclude>com/cloud/utils/testcase/*TestCase*</exclude>
|
||||
<exclude>com/cloud/utils/db/*Test*</exclude>
|
||||
<exclude>com/cloud/utils/testcase/NioTest.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
|
|
|||
|
|
@ -98,10 +98,9 @@ public abstract class NioConnection implements Callable<Boolean> {
|
|||
}
|
||||
_isStartup = true;
|
||||
|
||||
_threadExecutor = Executors.newSingleThreadExecutor();
|
||||
_futureTask = _threadExecutor.submit(this);
|
||||
|
||||
_threadExecutor = Executors.newSingleThreadExecutor(new NamedThreadFactory(this._name + "-NioConnectionHandler"));
|
||||
_isRunning = true;
|
||||
_futureTask = _threadExecutor.submit(this);
|
||||
}
|
||||
|
||||
public void stop() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue