Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 576 for connect0 (0.17 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonClientTest.groovy

        }
    
        def "tries to find a different daemon if connected to a stale daemon address"() {
            def resultMessage = Stub(BuildActionResult)
            DaemonClientConnection connection2 = Mock()
    
            when:
            client.execute(Stub(BuildAction), Stub(BuildActionParameters), Stub(ClientBuildRequestContext))
    
            then:
            2 * connector.connect(compatibilitySpec) >>> [connection, connection2]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

        assertEvents(
          "plan 1 TCP connected",
          "plan 0 cancel",
          "plan 1 TLS connecting...",
          "plan 1 TLS connect failed",
          "plan 2 TCP connecting...",
          "plan 2 TCP connected",
          "plan 2 TLS connecting...",
          "plan 2 TLS connected",
        )
    
        taskFaker.advanceUntil(270.ms)
        assertEvents(
          "plan 0 TCP connect canceled",
        )
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClient.java

            // Attempt to connect to an existing idle and compatible daemon
            int saneNumberOfAttempts = 100; //is it sane enough?
            for (int i = 1; i < saneNumberOfAttempts; i++) {
                final DaemonClientConnection connection = connector.connect(compatibilitySpec);
                // No existing, compatible daemon is available to try
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/egressselector/egress_selector.go

    func tunnelHTTPConnect(proxyConn net.Conn, proxyAddress, addr string) (net.Conn, error) {
    	fmt.Fprintf(proxyConn, "CONNECT %s HTTP/1.1\r\nHost: %s\r\n\r\n", addr, "127.0.0.1")
    	br := bufio.NewReader(proxyConn)
    	res, err := http.ReadResponse(br, nil)
    	if err != nil {
    		proxyConn.Close()
    		return nil, fmt.Errorf("reading HTTP response from CONNECT to %s via proxy %s failed: %v",
    			addr, proxyAddress, err)
    	}
    	if res.StatusCode != 200 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy

            def resultHandler = new TestResultHandler()
    
            when:
            def connector = toolingApi.connector()
            ProjectConnection connection1 = connector.connect()
            ProjectConnection connection2 = connector.connect()
    
            def build = connection1.newBuild()
            build.forTasks('hang')
            build.run(resultHandler)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/TcpConnectorTest.groovy

            def connection = outgoingConnector.connect(acceptor.address).create(serializer)
            thread.blockUntil.connected
    
            then:
            1 * action.execute(!null) >> { instant.connected }
    
            cleanup:
            acceptor?.stop()
            connection?.stop()
        }
    
        def "client throws exception when cannot connect to server"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiClientJdkCompatibilityTest.groovy

                        GradleConnector connector = GradleConnector.newConnector();
                        connector.useGradleVersion(gradleVersion);
    
                        ProjectConnection connection = null;
    
                        try {
                            connection = connector.forProjectDirectory(projectLocation).useGradleUserHomeDir(gradleUserHome).connect();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest.go

    				if err != nil {
    					scope.err(err, w, req)
    					return
    				}
    			}
    		}
    		requestInfo, _ := request.RequestInfoFrom(ctx)
    		metrics.RecordLongRunning(req, requestInfo, metrics.APIServerComponent, func() {
    			handler, err := connecter.Connect(ctx, name, opts, &responder{scope: scope, req: req, w: w})
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 17K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DefaultDaemonConnector.java

                LOGGER.debug("Cannot connect to daemon {} due to {}. Ignoring.", daemon, e);
            }
            return null;
        }
    
        @Override
        public void markDaemonAsUnavailable(DaemonConnectDetails daemon) {
            removeDaemonFromRegistry(daemon, "unable to communicate with daemon");
        }
    
        @Override
        public DaemonClientConnection connect(ExplainingSpec<DaemonContext> constraint) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApi.groovy

                connector.useGradleUserHomeDir(new File(context.gradleUserHomeDir.path))
    
                try (def connection = connector.connect()) {
                    connection.getModel(BuildEnvironment.class)
                }
            }
    
            isolateFromGradleOwnBuild(connector)
    
            connector.useGradleUserHomeDir(new File(gradleUserHomeDir.path))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:23 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top