Skip to content

Commit

Permalink
[hotfix][tests] Allow to run SpillableSubpartitionTests in the loop
Browse files Browse the repository at this point in the history
  • Loading branch information
pnowojski committed Mar 22, 2018
1 parent 762ea30 commit 1a2bc75
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
Expand Down Expand Up @@ -74,7 +75,12 @@ public class SpillableSubpartitionTest extends SubpartitionTestBase {
private static final ExecutorService executorService = Executors.newCachedThreadPool();

/** Asynchronous I/O manager. */
private static final IOManager ioManager = new IOManagerAsync();
private static IOManager ioManager;

@BeforeClass
public static void setup() {
ioManager = new IOManagerAsync();
}

@AfterClass
public static void shutdown() {
Expand Down

0 comments on commit 1a2bc75

Please sign in to comment.