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

powsybl / powsybl-core / 8739 / 3
85%
master: 85%

Build:
DEFAULT BRANCH: master
Ran 16 Oct 2019 11:34AM UTC
Files 1073
Run time 2min
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

16 Oct 2019 11:19AM UTC coverage: 84.075% (+0.02%) from 84.054%
8739.3

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>

33504 of 39850 relevant lines covered (84.08%)

1.54 hits per line

Source Files on job 8739.3
  • Tree
  • List 0
  • Changed 20
  • Source Changed 2
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7172
  • Travis Job 8739.3
  • 38c91fe8 on github
  • Prev Job for on master (#8675.2)
  • Next Job for on master (#8767.4)
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