pjfanning commented on code in PR #1593:
URL: https://github.com/apache/pekko/pull/1593#discussion_r1898900590
##########
actor-tests/src/test/scala/org/apache/pekko/actor/SchedulerSpec.scala:
##########
@@ -131,6 +131,17 @@ trait SchedulerSpec extends BeforeAndAfterEach with
DefaultTimeout with Implicit
task.isCancelled should ===(true)
}
+ "notify callback if cancel is performed before execution" taggedAs
TimingTest in {
+ val latch = new CountDownLatch(1)
+ val task = system.scheduler.scheduleOnce(10 seconds,
Review Comment:
can we have a shorter schedule? to save time on the test run
--
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]