Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for SUCCEED (0.08 sec)

  1. pilot/pkg/bootstrap/server_test.go

    			})
    			g := NewWithT(t)
    			s, err := NewServer(args, func(s *Server) {
    				s.kubeClient = kube.NewFakeClient()
    			})
    			g.Expect(err).To(Succeed())
    			stop := make(chan struct{})
    			g.Expect(s.Start(stop)).To(Succeed())
    			defer func() {
    				close(stop)
    				s.WaitUntilCompletion()
    			}()
    
    			if c.expNewCert {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. src/compress/flate/flate_test.go

    		t.Fatalf("Given sequence of bits is bad, and should not succeed.")
    	}
    }
    
    // The following test should not panic.
    func TestIssue5962(t *testing.T) {
    	bits := []int{4, 0, 0, 6, 4, 3, 2, 3, 3, 4, 4, 5, 0, 0, 0, 0,
    		5, 5, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11}
    	var h huffmanDecoder
    	if h.init(bits) {
    		t.Fatalf("Given sequence of bits is bad, and should not succeed.")
    	}
    }
    
    // The following test should not panic.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 11K bytes
    - Viewed (1)
  3. src/cmd/go/testdata/script/mod_outside.txt

    # 'go build' of source files should succeed if they do not import anything outside std.
    go build -n -o ignore ./stdonly/stdonly.go
    
    # 'go build' should succeed for standard-library packages.
    go build -n fmt
    
    # 'go build' should use the latest version of the Go language.
    go build ./newgo/newgo.go
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 18 15:34:40 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go

    		if err := assertResponseStatusCode(resultGot, http.StatusOK); err != nil {
    			t.Errorf("%s", err.Error())
    		}
    		resultGot = doer.Do(newClient(true), shouldUseNewConnection(t), "/echo?message=request-on-a-new-tcp-connection-should-succeed", time.Second)
    		if err := assertResponseStatusCode(resultGot, http.StatusOK); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  5. pkg/kubelet/prober/worker_test.go

    		laterStatus.ContainerStatuses[0].State.Running.StartedAt.Time =
    			time.Now().Add(-100 * time.Second)
    		m.statusManager.SetPodStatus(w.pod, laterStatus)
    
    		// Second call should succeed (already waited).
    		expectContinue(t, w, w.doProbe(ctx), "after initial delay")
    		expectResult(t, w, results.Success, "after initial delay")
    	}
    }
    
    func TestFailureThreshold(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 23:48:10 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  6. src/os/removeall_test.go

    		}
    
    		// No error checking here: either RemoveAll
    		// will or won't be able to remove dpath;
    		// either way we want to see if it removes fpath
    		// and path/zzz. Reasons why RemoveAll might
    		// succeed in removing dpath as well include:
    		//	* running as root
    		//	* running on a file system without permissions (FAT)
    		RemoveAll(path)
    		Chmod(dpath, 0777)
    
    		for _, s := range []string{fpath, path + "/zzz"} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:21:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. cmd/erasure-object_test.go

    	}
    	gr, err := obj.GetObjectNInfo(ctx, bucket, object, nil, nil, ObjectOptions{})
    	if err != nil {
    		t.Fatalf("Expected GetObject to succeed, but failed with %v", err)
    	}
    	output := bytes.NewBuffer([]byte{})
    	_, err = io.Copy(output, gr)
    	if err != nil {
    		t.Fatalf("Expected GetObject reading data to succeed, but failed with %v", err)
    	}
    	gr.Close()
    	if !bytes.Equal(output.Bytes(), smallData) {
    		t.Fatalf("Corrupted data is found")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/preflight/checks_test.go

    	if err != nil {
    		t.Errorf("failed configRootCAs:\n\texpected: succeed creating temp CA file\n\tactual:%v", err)
    	}
    	defer utiltesting.CloseAndRemove(t, f)
    	if _, err := f.Write([]byte(externalEtcdRootCAFileContent)); err != nil {
    		t.Errorf("failed configRootCAs:\n\texpected: succeed writing contents to temp CA file %s\n\tactual:%v", f.Name(), err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

        server.enqueue(
          MockResponse.Builder()
            .body("abc")
            .addHeader("Content-Type: text/plain")
            .build(),
        )
    
        // Make a request from client to server. It should succeed certificate checks (unfortunately the
        // rogue CA is trusted) but it should fail certificate pinning.
        val request =
          Request.Builder()
            .url(server.url("/"))
            .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

          long oldValue = atomic.get();
          if (oldValue == 0L || atomic.compareAndSet(oldValue, 0L)) {
            // only remove after setting to zero, to avoid concurrent updates
            map.remove(key, atomic);
            // succeed even if the remove fails, since the value was already adjusted
            return oldValue;
          }
        }
      }
    
      /**
       * If {@code (key, value)} is currently in the map, this method removes it and returns true;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top