- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 171 for confirm (0.26 sec)
-
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
filesystem.setFaultyDelete(cacheDir / "a.1", true) taskFaker.runNextTask() // Confirm the partial snapshot is not returned. assertThat(cache["a"]).isNull() // Confirm we prevent edits after a trim failure. assertThat(cache.edit("a")).isNull() // Confirm the partial snapshot is not returned after a successful trim. filesystem.setFaultyDelete(cacheDir / "a.1", false)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
"istio.io/istio/istioctl/pkg/util" "istio.io/istio/istioctl/pkg/util/formatting" "istio.io/istio/pkg/config/analysis" "istio.io/istio/pkg/config/analysis/analyzers/webhook" "istio.io/istio/pkg/config/analysis/diag" "istio.io/istio/pkg/config/analysis/local" "istio.io/istio/pkg/config/resource" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/maps" "istio.io/istio/pkg/slices" ) const (
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 16.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
}.also { expected -> assertThat(expected.message).isEqualTo("timeout") } // Confirm that a subsequent request on the same connection is not impacted. val call2 = client.newCall(Request(server.url("/"))) val response2 = call2.execute() assertThat(response2.body.string()).isEqualTo("A") // Confirm that the connection was reused. assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
import okhttp3.internal.http.RecordingProxySelector import okhttp3.tls.HandshakeCertificates import okhttp3.tls.internal.TlsUtil.localhost /** * OkHttp is usually tested with functional tests: these use public APIs to confirm behavior against * MockWebServer. In cases where logic is particularly tricky, we use unit tests. This class makes * it easy to get sample values to use in such tests. *
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 7.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
else -> { connectionUser.acquireConnectionNoEvents(connection) true } } } if (!acquired) continue // Confirm the connection is healthy and return it. if (connection.isHealthy(doExtensiveHealthChecks)) return connection // In the second synchronized block, release the unhealthy acquired connection. We're also on
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 16.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
.method("POST", requestBody2) .build() val response2 = client.newCall(request2).execute() assertThat(response2.code).isEqualTo(200) // Use sequence numbers to confirm the connection was pooled. assertThat(server.takeRequest().sequenceNumber).isEqualTo(0) assertThat(server.takeRequest().sequenceNumber).isEqualTo(1) } @Test
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
} catch (ioe: IOException) { assertThat(ioe).hasMessage("google.com") assertThat(ioe.cause!!).isInstanceOf<EOFException>() } } // TODO GET preferred order - with tests to confirm this // 1. successful fresh cached GET response // 2. unsuccessful (404, 500) fresh cached GET response // 3. successful network response // 4. successful stale cached GET response // 5. unsuccessful response
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 11K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
serverListener.assertClosing(1000, "goodbye") // Confirm that the hard cancel occurred after 500 ms. clientListener.assertFailure() val elapsedUntilFailure = System.nanoTime() - closeAtNanos assertThat(TimeUnit.NANOSECONDS.toMillis(elapsedUntilFailure).toDouble()) .isCloseTo(500.0, 250.0) // Close the server and confirm it saw what we expected. server.close(1000, null)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 35.2K bytes - Viewed (1) -
cni/pkg/nodeagent/ztunnelserver_test.go
addr := fmt.Sprintf("@testaddr%d", ztunnelTestCounter.Add(1)) ztun, err := newZtunnelServer(addr, pods) if err != nil { panic(err) } go ztun.Run(ctx) // now as a client connect confirm we and get snapshot resolvedAddr, err := net.ResolveUnixAddr("unixpacket", addr) if err != nil { panic(err) } ztunClient, err := net.DialUnix("unixpacket", nil, resolvedAddr) if err != nil { panic(err)
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 8.6K bytes - Viewed (0) -
internal/grid/muxserver.go
m.handleInbound(c, inbound, handlerIn) }(m.inbound) } // Fill outbound block. // Each token represents a message that can be sent to the client without blocking. // The client will refill the tokens as they confirm delivery of the messages. for i := 0; i < outboundCap; i++ { m.outBlock <- struct{}{} } // Handler goroutine. var handlerErr atomic.Pointer[RemoteErr] go func() { wg.Wait()
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 9.1K bytes - Viewed (0)