mirror of https://github.com/apache/druid.git
make test reflect the fact that resulting sequence is not consumed yet
This commit is contained in:
parent
ee34415470
commit
458a873505
|
@ -123,7 +123,7 @@ public class CachePopulatingQueryRunnerTest
|
|||
|
||||
Sequence res = runner.run(builder.build());
|
||||
// base sequence is not closed yet
|
||||
Assert.assertTrue(closable.isClosed());
|
||||
Assert.assertFalse("sequence must not be closed", closable.isClosed());
|
||||
ArrayList results = Sequences.toList(res, new ArrayList());
|
||||
Assert.assertTrue(closable.isClosed());
|
||||
Assert.assertEquals(expectedRes, results);
|
||||
|
|
Loading…
Reference in New Issue