Skip to content

Commit

Permalink
removed references to removed constant
Browse files Browse the repository at this point in the history
  • Loading branch information
ceharris committed May 1, 2013
1 parent 631cd7e commit 3bb4d53
Showing 1 changed file with 8 additions and 8 deletions.
@@ -1,14 +1,14 @@
package ch.qos.logback.core.issue.LOGBACK_849;

import ch.qos.logback.core.Context;
import ch.qos.logback.core.ContextBase;
import ch.qos.logback.core.CoreConstants;
import ch.qos.logback.core.util.ExecutorServiceUtil;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;

import org.junit.Ignore;
import org.junit.Test;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
import ch.qos.logback.core.Context;
import ch.qos.logback.core.ContextBase;
import ch.qos.logback.core.util.ExecutorServiceUtil;


public class Basic {
Expand All @@ -19,13 +19,13 @@ public class Basic {
@Test(timeout = 100)
public void withNoSubmittedTasksShutdownNowShouldReturnImmediately() throws InterruptedException {
executor.shutdownNow();
executor.awaitTermination(CoreConstants.EXECUTOR_SHUTDOWN_DELAY, TimeUnit.MILLISECONDS);
executor.awaitTermination(5000, TimeUnit.MILLISECONDS);
}

@Ignore
@Test
public void withOneSlowTask() throws InterruptedException {
executor.execute(new InterruptIgnoring(CoreConstants.EXECUTOR_SHUTDOWN_DELAY + 1000));
executor.execute(new InterruptIgnoring(1000));
Thread.sleep(100);
ExecutorServiceUtil.shutdown(executor);
}
Expand Down

0 comments on commit 3bb4d53

Please sign in to comment.