public class BoundedElasticSchedulerTest extends AbstractSchedulerTest
afterTest
构造器和说明 |
---|
BoundedElasticSchedulerTest() |
@AfterAll public static void dumpThreads()
@Test public void extraWorkersShareBackingExecutorAndBoundedState() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void doubleSubscribeOn()
@Test @Tag(value="slow") public void testLargeNumberOfWorkers() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void testSmallTaskCapacityReached()
@Test public void testSmallTaskCapacityJustEnough()
@Test public void TODO_TEST_MUTUALLY_DELAYING_TASKS()
@Test public void whenCapReachedPicksLeastBusyExecutor() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void startNoOpIfStarted()
@Test public void negativeTtl()
@Test public void zeroTtl()
@Test public void maximumTtl()
@Test public void negativeThreadCap()
@Test public void zeroThreadCap()
@Test public void negativeTaskCap()
@Test public void zeroTaskCap()
@Test public void evictionForWorkerScheduling()
@Test @Tag(value="slow") public void lifoEvictionNoThreadRegrowth() throws java.lang.InterruptedException
java.lang.InterruptedException
@ValueSource(booleans={true,false}) public void userWorkerShutdownBySchedulerDisposal(boolean disposeGracefully) throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void regrowFromEviction()
@Test public void taskCapIsOnExecutorAndNotWorker()
@Test public void estimateRemainingTaskCapacityIsSumOfWorkers()
@Test public void estimateRemainingTaskCapacityWithSomeUnobservableWorkers()
@Test public void estimateRemainingTaskCapacityWithUnobservableOnly()
@Test public void workerRejectsTasksAfterBeingDisposed()
@Test public void blockingTasksWith100kLimit() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void delayedTasksWith100kLimit()
@Test public void subscribeOnDisposesWorkerWhenCancelled() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void publishOnDisposesWorkerWhenCancelled()
@Test @Tag(value="slow") public void pickSetIdleRaceBusy()
@Test @Tag(value="slow") public void pickSetIdleRaceIdle()
@Test public void gh1992()
@Test @Tag(value="slow") public void testGh1973() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void defaultBoundedElasticConfigurationIsConsistentWithJavadoc()
@Test public void scanName()
@Test public void scanWorkerName()
@Test public void scanCapacityBounded()
@Test public void scanCapacityUnbounded()
@Test public void toStringOfTtlInSplitSeconds()
@Test public void toStringOfTtlUnderOneSecond()
@Test public void transitionsToIdleAfterRejectionAndFollowingCompletion() throws java.lang.InterruptedException
java.lang.InterruptedException