Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for alreadyFailed (0.1 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectationState.java

                failure = FailureType.Timeout;
            }
        }
    
        /**
         * Creates a response to return to the client for an expected request received after a failure.
         */
        public ResponseProducer alreadyFailed(String requestMethod, String path, String context) {
            switch (failure) {
                case UnexpectedRequest:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMaxNConcurrentRequests.java

                }
    
                if (state.isFailed()) {
                    // Broken in another thread
                    System.out.println(String.format("[%d] failure in another thread", id));
                    return state.alreadyFailed(exchange.getRequestMethod(), path, describeCurrentState());
                }
    
                if (waitingFor == 0) {
                    System.out.println(String.format("[%d] signalling all requests ready", id));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/fsys/fsys_test.go

    func TestWalkError(t *testing.T) {
    	initOverlay(t, "{}")
    
    	alreadyCalled := false
    	err := Walk("foo", func(path string, info fs.FileInfo, err error) error {
    		if alreadyCalled {
    			t.Fatal("expected walk function to be called exactly once, but it was called more than once")
    		}
    		alreadyCalled = true
    		return errors.New("returned from function")
    	})
    	if !alreadyCalled {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:52:11 UTC 2023
    - 29.1K bytes
    - Viewed (0)
Back to top