Skip to content

Commit c634c6e

Browse files
committed
Fix TTL tests
1 parent 122ea19 commit c634c6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

couchbase-driver/src/test/java/org/jnosql/diana/couchbase/document/CouchbaseDocumentCollectionManagerAsyncTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public void shouldInserAsyncTTL() throws InterruptedException {
9898
Document id = entity.find("name").get();
9999
DocumentQuery query = select().from(COLLECTION_NAME).where(id.getName()).eq(id.get()).build();
100100
List<DocumentEntity> entities = entityManager.select(query);
101-
assertFalse(entities.isEmpty());
101+
assertTrue(entities.isEmpty());
102102

103103
}
104104

@@ -115,7 +115,7 @@ public void shouldInserAsyncCalbackTTL() throws InterruptedException {
115115
Document id = entity.find("name").get();
116116
DocumentQuery query = select().from(COLLECTION_NAME).where(id.getName()).eq(id.get()).build();
117117
List<DocumentEntity> entities = entityManager.select(query);
118-
assertFalse(entities.isEmpty());
118+
assertTrue(entities.isEmpty());
119119

120120
}
121121

0 commit comments

Comments
 (0)