Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 474 for Failures (1.11 sec)

  1. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        } catch (e: Exception) {
          synchronized(failures) {
            failures.add(e)
          }
        }
      }
    
      @Throws(UnknownHostException::class)
      private fun throwBestFailure(
        hostname: String,
        failures: List<Exception>,
      ): List<InetAddress> {
        if (failures.isEmpty()) {
          throw UnknownHostException(hostname)
        }
    
        val failure = failures[0]
    
        if (failure is UnknownHostException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

          }
        }
    
        if (failures.isNotEmpty()) {
          for (failure in failures) {
            println(failure)
          }
          throw failures.first()
        }
      }
    
      private fun testToAscii(
        input: String,
        output: String?,
        comment: String?,
      ) {
        val url = "https://$input/".toHttpUrlOrNull()
        assertThat(url?.host, name = comment ?: input).isEqualTo(output)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                        // Expected
                    }
                }
    
                // Circuit should be OPEN after 3 failures
                assertEquals(State.OPEN, customCb.getState(), "Circuit should be OPEN after regular failures");
                assertEquals(3, customCb.getFailureCount(), "Should have 3 failures");
    
                // Reset for custom predicate test
                customCb.reset();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/SimpleCircuitBreaker.java

                int failures = consecutiveFailures.incrementAndGet();
                if (failures >= failureThreshold) {
                    if (state.compareAndSet(State.CLOSED, State.OPEN)) {
                        stateChangeTime.set(System.currentTimeMillis());
                        log.warn("Circuit breaker {} opened after {} consecutive failures", name, failures);
                    }
                }
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. cmd/metrics-v3-bucket-replication.go

    		"Number of failures in GET requests proxied to replication target",
    		bucketL, targetArnL)
    	bucketReplProxiedGetRequestsTotalMD = NewCounterMD(bucketReplProxiedGetRequestsTotal,
    		"Number of GET requests proxied to replication target",
    		bucketL, targetArnL)
    	bucketReplProxiedGetTaggingRequestsFailuresMD = NewCounterMD(bucketReplProxiedGetTaggingRequestsFailures,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 04 20:45:31 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. cmd/dynamic-timeouts.go

    // previous results
    func (dt *dynamicTimeout) adjust(entries [dynamicTimeoutLogSize]time.Duration) {
    	failures, maxDur := 0, time.Duration(0)
    	for _, dur := range entries[:] {
    		if dur == maxDuration {
    			failures++
    		} else if dur > maxDur {
    			maxDur = dur
    		}
    	}
    
    	failPct := float64(failures) / float64(len(entries))
    
    	if failPct > dynamicTimeoutIncreaseThresholdPct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt

    import java.net.URI
    import okhttp3.internal.format
    
    class RecordingProxySelector : ProxySelector() {
      @JvmField val proxies = mutableListOf<Proxy>()
    
      val requestedUris = mutableListOf<URI>()
      val failures = mutableListOf<String>()
    
      override fun select(uri: URI): List<Proxy> {
        requestedUris.add(uri)
        return proxies
      }
    
      fun assertRequests(vararg expectedUris: URI?) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessClient.java

                        // Exponential backoff on errors: max 30 seconds, based on consecutive failures
                        try {
                            int failures = Math.min(registration.getHeartbeatFailures(), MAX_FAILURE_LIMIT);
                            long backoffDelay = Math.min(MAX_ERROR_BACKOFF, BASE_ERROR_DELAY * (1L << failures));
                            Thread.sleep(backoffDelay);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

            int failures = getFailureCount(handle);
    
            // Base interval starts at 1 second, increases with failures
            // Max interval is 30 seconds for inactive directories
            return Math.min(MAX_POLL_INTERVAL, BASE_POLL_INTERVAL + (failures * 2000));
        }
    
        /**
         * Get failure count for a handle
         *
         * @param handle notification handle
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/flaking-test.yaml

          description: |
            Please only use this template for submitting reports about flaky tests or jobs (pass or fail with no underlying change in code) in Kubernetes CI.
            Links to go.k8s.io/triage and/or links to specific failures in spyglass are appreciated.
            Please see the deflaking doc (https://github.com/kubernetes/community/blob/master/contributors/devel/sig-testing/flaky-tests.md) for more guidance.
        validations:
          required: true
    
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Tue Oct 05 16:55:38 UTC 2021
    - 1.4K bytes
    - Viewed (0)
Back to top