Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for waitUntilBlocked (0.17 sec)

  1. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy

                start {
                    succeeds("a")
                    instant.aDone
                    succeeds("b")
                }
                request1.waitUntilBlocked()
                instant.aBlocked
                request1.release()
                request2.waitUntilBlocked()
                request2.release()
            }
            server.stop()
    
            then:
            instant.aDone > instant.aBlocked
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java

         */
        public interface BlockingRequest extends ExpectedRequest {
            /**
             * Waits for the request to be received and blocked.
             */
            void waitUntilBlocked();
    
            /**
             * Unblock the request.
             */
            void release();
        }
    
        /**
         * Allows the test to synchronise with and unblock requests.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top