• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

powsybl / powsybl-core / 8739
85%

Build:
DEFAULT BRANCH: master
Ran 16 Oct 2019 11:31AM UTC
Jobs 4
Files 3219
Run time 20min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
8739

push

travis-ci-com

sylvlecl
Local computation manager : fix CompletableFuture contract of cancel (#859)

Fix local computation manager future behaviour on cancel :

 * implementation of CompletableFuture bound to an actual task,
   which overrides the behaviour of cancel to also interrupt the task thread.
   It re-uses the JDK FutureTask class, which does just this.
   Cancel also properly causes to complete with CancellationException,
   as implemented in JDK CompletableFuture class.
 * the local computation manager returns such a CompletableFuture,
   and relies on the interrupt to know when the underlying process
   should also be killed
 * the "after" post-processing is for the moment not executed anymore
   when cancellation has been requested.
 * unit tests to demonstrate the behaviour

Signed-off-by: Sylvain Leclerc <sylvain.leclerc@rte-france.com>

100512 of 119535 relevant lines covered (84.09%)

6.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8739.1 16 Oct 2019 11:31AM UTC 0
84.07
Travis Job 8739.1
2 8739.2 16 Oct 2019 11:31AM UTC 0
84.08
Travis Job 8739.2
3 8739.3 16 Oct 2019 11:34AM UTC 0
84.08
Travis Job 8739.3
4 8739.4 16 Oct 2019 11:49AM UTC 0
84.07
Travis Job 8739.4
Source Files on build 8739
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #8739
  • 38c91fe8 on github
  • Prev Build on master (#8675)
  • Next Build on master (#8767)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc