Skip to content

Commit 815301b

Browse files
committed
debug: more logs
1 parent f367787 commit 815301b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/test/java/io/weaviate/client6/v1/api/collections/batch/BatchContextTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ private void closeContext() throws Exception {
162162
} catch (Exception e) {
163163
throw new RuntimeException(e);
164164
}
165+
log.debug("SENDING EOF ON {}");
165166
}, backgroundThread).thenCompose(__ -> out.eof(true));
166167

167168
try {
@@ -187,6 +188,7 @@ public void test_sendOneBatch() throws Exception {
187188
Assertions.assertThat(tasks)
188189
.extracting(TaskHandle::isAcked).allMatch(CompletableFuture::isDone);
189190

191+
log.debug("ADD PENDING TO {}", out);
190192
out.pendingEvents.add(new Event.Results(received, Collections.emptyMap()));
191193
out.beforeEof(new Event.Results(received, Collections.emptyMap()));
192194

0 commit comments

Comments
 (0)