public class TestMasterTaskIdleTimeout extends AbstractMasterTestCase
AbstractMasterTask
and
friends.TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestMasterTaskIdleTimeout() |
TestMasterTaskIdleTimeout(String name) |
Modifier and Type | Method and Description |
---|---|
void |
test_idleTimeout_LT_chunkTimeout()
Unit test verifies that an idle timeout may be LT the chunk timeout and
that the sink will be closed by the idle timeout if chunks do not appear
in a timely manner.
|
void |
test_idleTimeout_LT_chunkTimeout2()
Unit test verifies that a sink whose source iterator is not empty always
resets the idle timeout (that is, if chunks continue to appear in a
timely manner than the sink will not be closed by an idle timeout).
|
void |
test_idleTimeout_with_infiniteChunkTimeout()
Unit test verifies that an idle timeout will cause a sink to flush its
buffer without waiting to combine additional chunks even though it has an
infinite chunkTimeout.
|
void |
test_idleTimeout()
Unit test to verify that output buffers are not closed too quickly.
|
void |
test_idleTimeoutInfinite_chunkTimeoutInfinite()
Unit test verifies correct shutdown when writing chunks onto a master
whose subtask has an infinite chunk timeout and an infinite idle timeout.
|
awaitChunksOut, tearDown
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getProperties, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, toString
public TestMasterTaskIdleTimeout()
public TestMasterTaskIdleTimeout(String name)
public void test_idleTimeout() throws InterruptedException, ExecutionException
public void test_idleTimeout_LT_chunkTimeout() throws InterruptedException, ExecutionException
public void test_idleTimeout_LT_chunkTimeout2() throws InterruptedException, ExecutionException
public void test_idleTimeoutInfinite_chunkTimeoutInfinite() throws InterruptedException, ExecutionException
public void test_idleTimeout_with_infiniteChunkTimeout() throws InterruptedException, ExecutionException, TimeoutException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.