Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for stopThrowsExceptionOnTimeout (0.34 sec)

  1. platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy

            executor.stop()
    
            then:
            IllegalStateException e = thrown()
            e.message == 'Cannot stop this executor from an executor thread.'
        }
    
        def stopThrowsExceptionOnTimeout() {
            def timeoutMs = 100
            def latch = new CountDownLatch(1)
    
            def action = {
                latch.await()
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top