Let test wait until database operation is completed
This commit is contained in:
parent
b35eaa4fa5
commit
a0813db189
|
@ -800,7 +800,7 @@ public class DbWriterTest {
|
|||
assertTrue(item.getId() != 0);
|
||||
}
|
||||
|
||||
DBWriter.removeAllNewFlags();
|
||||
DBWriter.removeAllNewFlags().get();
|
||||
List<FeedItem> loadedItems = DBReader.getFeedItemList(feed);
|
||||
for (FeedItem item : loadedItems) {
|
||||
assertFalse(item.isNew());
|
||||
|
|
Loading…
Reference in New Issue