Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 77 for expectActions (0.31 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoriesDeclaredInSettingsIntegrationTest.groovy

            when:
            fails ':checkDeps'
    
            then:
            errorOutput.contains("Plugin [id: 'org.gradle.repo-conventions'] was not found in any of the following sources")
    
            // real expectations below
    
            /*
            when:
            repositoryInteractions {
                'org:from-buildsrc:1.0' {
                    expectResolve()
                }
                'org:from-main-build:1.0' {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:56:27 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  9. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/S3Server.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
    - 22.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    In a few lines of code, it is possible to run an analyzer on a package
    of testdata files and check that it reported all the expected
    diagnostics and facts (and no more). Expectations are expressed using
    "// want ..." comments in the input code.
    
    # Standalone commands
    
    Analyzers are provided in the form of packages that a driver program is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top