Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for expectedCalls (0.17 sec)

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

         */
        public BlockingHandler expectConcurrentAndBlock(String... expectedCalls) {
            return expectConcurrentAndBlock(expectedCalls.length, expectedCalls);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_test.go

    		expectedAuthorized bool
    		expectedCalls      int
    	}
    
    	tests := []webhookCacheTestCase{
    		// server error and 429's retry
    		{name: "server errors retry", attr: aliceAttr, allow: false, statusCode: 500, expectedErr: true, expectedAuthorized: false, expectedCalls: 5},
    		{name: "429s retry", attr: aliceAttr, allow: false, statusCode: 429, expectedErr: true, expectedAuthorized: false, expectedCalls: 5},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	}
    	expectedCalls := (int64(numPods) + deleteCollectionPageSize - 1) / deleteCollectionPageSize
    	if listCalls := atomic.LoadInt64(&storeWithCounter.listCounter); listCalls != expectedCalls {
    		t.Errorf("Unexpected number of list calls: %d, expected: %d", listCalls, expectedCalls)
    	}
    
    	for i := 0; i < numPods; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesDuringTheBuildFileSystemWatchingIntegrationTest.groovy

            assert getProjectFilesInVfs() == expected
        }
    
        private void runWithFileSystemWatchingAndMakeChangesWhen(String task, String expectedCall, Closure action) {
            def handle = withWatchFs().executer.withTasks(task).start()
            def userInput = server.expectAndBlock(expectedCall)
            userInput.waitForAllPendingCalls()
            action()
            userInput.releaseAll()
            result = handle.waitForFinish()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top