Package spock.util.concurrent

Utilities for testing concurrent code.
  • Class Summary
    Class Description
    Alternative to class BlockingVariable(s) that allows to evaluate conditions in a thread other than the spec runner's thread(s).
    A statically typed variable whose get() method will block until some other thread has set a value with the set() method, or a timeout expires.
    Repeatedly evaluates one or more conditions until they are satisfied or a timeout has elapsed.