test.check

Interruptibility

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Both the main test loop and the shrink loop should have checks for thread interrupts

Patch coming imminently.

Activity

Hide
Gary Fredericks added a comment -

Attached TCHECK-42.patch.

Show
Gary Fredericks added a comment - Attached TCHECK-42.patch.
Hide
Reid Draper added a comment -

Thanks, sorry for the delay. Maybe this is a lein repl thing, but when I ctrl-c a test, while using this patch, I get a java.lang.ThreadDeath exception as the :result. Maybe the repl spawns your code in another thread, unlike running lein test?

Show
Reid Draper added a comment - Thanks, sorry for the delay. Maybe this is a lein repl thing, but when I ctrl-c a test, while using this patch, I get a java.lang.ThreadDeath exception as the :result. Maybe the repl spawns your code in another thread, unlike running lein test?

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated: