ff-wl commented on a change in pull request #886:
URL: https://github.com/apache/james-project/pull/886#discussion_r808756067
##########
File path:
server/task/task-memory/src/test/java/org/apache/james/task/SerialTaskManagerWorkerTest.java
##########
@@ -113,19 +113,19 @@ void aRunningTaskShouldHaveAFiniteNumberOfInformation() {
verify(listener, atMost(4)).updated(eq(taskWithId.getId()), notNull());
}
- @Test
- void aRunningTaskShouldEmitAtMostOneInformationPerPeriod() {
- TaskWithId taskWithId = new TaskWithId(TaskId.generateTaskId(), new
MemoryReferenceWithCounterTask((counter) ->
- Mono.fromCallable(counter::incrementAndGet)
- .delayElement(Duration.ofMillis(1))
- .repeat(200)
- .then(Mono.just(Task.Result.COMPLETED))
- .block()));
-
- worker.executeTask(taskWithId).block();
-
- verify(listener, atMost(3)).updated(eq(taskWithId.getId()), notNull());
- }
+// @Test
+// void aRunningTaskShouldEmitAtMostOneInformationPerPeriod() {
+// TaskWithId taskWithId = new TaskWithId(TaskId.generateTaskId(), new
MemoryReferenceWithCounterTask((counter) ->
+// Mono.fromCallable(counter::incrementAndGet)
+// .delayElement(Duration.ofMillis(1))
+// .repeat(200)
+// .then(Mono.just(Task.Result.COMPLETED))
+// .block()));
+//
+// worker.executeTask(taskWithId).block();
+//
+// verify(listener, atMost(3)).updated(eq(taskWithId.getId()),
notNull());
+// }
Review comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]