17971798179918001801180218031804180518061807
// still under the threshold, so no fire assertEquals( 3, results.size() ); } finally { logger.writeToDisk(); } } @Test public void testCollectWithWindows() throws Exception {
19161917191819191920192119221923192419251926
assertEquals( 5, lengthResults.size() ); assertEquals( 3, lengthResults.get( 4 ).intValue() ); } finally { logger.writeToDisk(); } } @Test
17891790179117921793179417951796179717981799
19081909191019111912191319141915191619171918
15621563156415651566156715681569157015711572
16821683168416851686168716881689169016911692
16501651165216531654165516561657165816591660
17701771177217731774177517761777177817791780
16941695169616971698169917001701170217031704
// still under the threshold, so no fire assertEquals( 3, results.size() ); } finally { logger.writeToDisk(); } } @Test(timeout=10000) public void testCollectWithWindows() throws Exception {
18111812181318141815181618171818181918201821
assertEquals( 5, lengthResults.size() ); assertEquals( 3, lengthResults.get( 4 ).intValue() ); } finally { logger.writeToDisk(); } } @Test(timeout=10000)