seems 3 or 4 journal files are needed - on occasion test fails with 4

This commit is contained in:
gtully 2015-03-05 14:29:20 +00:00
parent 8c66fba0aa
commit 42b606da9d
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ public class DurableSubSelectorDelayWithRestartTest {
@Override
public boolean isSatisified() throws Exception {
LOG.info("journal data file count - expected {} actual {}", 4, pa.getStore().getJournal().getFileMap().size());
return pa.getStore().getJournal().getFileMap().size() < 4;
return pa.getStore().getJournal().getFileMap().size() <= 4;
}
}, TimeUnit.MINUTES.toMillis(3)));