Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 81 for expectActions (0.45 sec)

  1. cni/pkg/nodeagent/net_test.go

    	var podUID string = string(pod.ObjectMeta.UID)
    	ipProto := uint8(unix.IPPROTO_TCP)
    	ctx, cancel := context.WithCancel(context.Background())
    	fixture := getTestFixure(ctx)
    	defer cancel()
    	setupLogging()
    
    	// expectations
    	fixture.ipsetDeps.On("addIP",
    		"foo-v4",
    		netip.MustParseAddr("3.3.3.3"),
    		ipProto,
    		podUID,
    		false,
    	).Return(nil)
    
    	fixture.ipsetDeps.On("addIP",
    		"foo-v4",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/library_vs_application.adoc

    A lot of the problems Gradle handles are about fixing the mismatch between the expectations of a consumer and a producer.
    
    However, some projects are easier than others:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. pkg/controller/replicaset/replica_set_utils.go

    func updateReplicaSetStatus(logger klog.Logger, c appsclient.ReplicaSetInterface, rs *apps.ReplicaSet, newStatus apps.ReplicaSetStatus) (*apps.ReplicaSet, error) {
    	// This is the steady state. It happens when the ReplicaSet doesn't have any expectations, since
    	// we do a periodic relist every 30s. If the generations differ but the replicas are
    	// the same, a caller might've resized to the same replica count.
    	if rs.Status.Replicas == newStatus.Replicas &&
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 12:19:51 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue1435.go

    //     pthread_join(t[i], NULL);
    //   }
    //   pthread_mutex_destroy(&mu);
    //   free(t);
    // }
    import "C"
    
    // compareStatus is used to confirm the contents of the thread
    // specific status files match expectations.
    func compareStatus(filter, expect string) error {
    	expected := filter + expect
    	pid := syscall.Getpid()
    	fs, err := os.ReadDir(fmt.Sprintf("/proc/%d/task", pid))
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 28 21:31:41 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. docs/features/interceptors.md

    ```
    
    ### Rewriting Responses
    
    Symmetrically, interceptors can rewrite response headers and transform the response body. This is generally more dangerous than rewriting request headers because it may violate the webserver's expectations!
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/node_matchers_test.cc

      // TODO(griffithjames): Exactly match these explanations.
      //
      // When the OSS build has been updated to include the new error messages, the
      // Explain() expectations can be exact strings again.
      {
        const std::string explanation =
            Explain(placeholder_c.node(), NodeWith(CtrlDeps()));
        EXPECT_NE(explanation.find("ctrl_deps, which has 2 elements"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 14:43:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/fixtures/GcsServer.groovy

        }
    
        private void add(HttpStub httpStub, HttpServer.ActionSupport action) {
            HttpServer.HttpExpectOne expectation = new HttpServer.HttpExpectOne(action, [httpStub.request.method], httpStub.request.path)
            expectations << expectation
            addHandler(new AbstractHandler() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoryInteractionDependencyResolveIntegrationTest.groovy

        }
    
        def "explicit configuration selection in ivy modules is supported if targeting a ivy module"() {
            given:
            // use a different name if selection is supported to not follow the default expectations defined in leaksRuntime()
            String targetRepoName = "ivy-select"
            setupRepositories([targetRepoName, 'ivy'])
            repository('ivy') {
                "org:ivy:1.0" {
                    withModule(IvyModule) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy

                request2.release()
            }
            server.stop()
    
            then:
            instant.aDone > instant.aBlocked
            instant.bDone > instant.bBlocked
        }
    
        def "can chain expectations"() {
            given:
            server.expectConcurrent("a", "b")
            server.expect("c")
            def handle = server.expectConcurrentAndBlock(2, "d", "e")
            server.expect("f")
            server.start()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy

        private final static Logger logger = LoggerFactory.getLogger(HttpServer.class)
    
        protected Matcher expectedUserAgent = null
    
        List<ServerExpectation> expectations = []
    
        boolean chunkedTransfer = false
    
        org.gradle.api.Action<HttpServletRequest> beforeHandle
        org.gradle.api.Action<HttpServletRequest> afterHandle
    
        enum SupportedHash {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 32.3K bytes
    - Viewed (0)
Back to top