Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setupLockOwner (0.12 sec)

  1. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy

            """
        }
    
        def cleanup() {
            socketReceiverThread?.terminate = true
        }
    
        def "the lock holder is not hammered with ping requests for the shared lock"() {
            given:
            setupLockOwner()
            def pingRequestCount = 0
            //do not handle requests: this simulates the situation were pings do not arrive
            replaceSocketReceiver { pingRequestCount++ }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top