Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for Gail (0.2 sec)

  1. misc/ios/detect.go

    	"fmt"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    func main() {
    	udids := getLines(exec.Command("idevice_id", "-l"))
    	if len(udids) == 0 {
    		fail("no udid found; is a device connected?")
    	}
    
    	mps := detectMobileProvisionFiles(udids)
    	if len(mps) == 0 {
    		fail("did not find mobile provision matching device udids %q", udids)
    	}
    
    	fmt.Println("# Available provisioning profiles below.")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 19 23:33:30 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. cmd/generic-handlers_test.go

    		h.ServeHTTP(w, r)
    
    		switch {
    		case test.ShouldFail && w.Code == http.StatusOK:
    			t.Errorf("Test %d: should fail but status code is HTTP %d", i, w.Code)
    		case !test.ShouldFail && w.Code != http.StatusOK:
    			t.Errorf("Test %d: should not fail but status code is HTTP %d and not 200 OK", i, w.Code)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. cmd/erasure-object_test.go

    		if err != toObjectErr(errErasureReadQuorum, bucket, object) {
    			t.Errorf("Expected GetObject to fail with %v, but failed with %v", toObjectErr(errErasureReadQuorum, bucket, object), err)
    		}
    	}
    	if gr != nil {
    		_, err = io.Copy(io.Discard, gr)
    		if err != toObjectErr(errErasureReadQuorum, bucket, object) {
    			t.Errorf("Expected GetObject to fail with %v, but failed with %v", toObjectErr(errErasureReadQuorum, bucket, object), err)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  4. cmd/object-api-getobjectinfo_test.go

    		}
    		if err == nil && !testCase.shouldPass {
    			t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead", i+1, instanceType, testCase.err.Error())
    		}
    		// Failed as expected, but does it fail for the expected reason.
    		if err != nil && !testCase.shouldPass {
    			if testCase.err.Error() != err.Error() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  5. cni/pkg/repair/monitoring.go

    	deleteType = "delete"
    	repairType = "repair"
    	labelType  = "label"
    
    	resultLabel   = monitoring.CreateLabel("result")
    	resultSuccess = "success"
    	resultSkip    = "skip"
    	resultFail    = "fail"
    
    	podsRepaired = monitoring.NewSum(
    		"istio_cni_repair_pods_repaired_total",
    		"Total number of pods repaired by repair controller",
    	)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 1K bytes
    - Viewed (0)
  6. internal/hash/reader_test.go

    		success           bool
    	}{
    		{
    			desc:       "Invalid md5sum NewReader() will fail.",
    			src:        bytes.NewReader([]byte("abcd")),
    			size:       4,
    			actualSize: 4,
    			md5hex:     "invalid-md5",
    			success:    false,
    		},
    		{
    			desc:       "Invalid sha256 NewReader() will fail.",
    			src:        bytes.NewReader([]byte("abcd")),
    			size:       4,
    			actualSize: 4,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  7. cmd/sts-handlers_test.go

    	if !gotBuckets.Equals(shouldHaveBuckets) {
    		c.Fatalf("root user should have access to all buckets")
    	}
    
    	// This must fail.
    	if err := userAdmClient.AddUser(ctx, globalActiveCred.AccessKey, globalActiveCred.SecretKey); err == nil {
    		c.Fatal("AddUser() for root credential must fail via root STS creds")
    	}
    }
    
    // SetUpLDAP - expects to setup an LDAP test server using the test LDAP
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  8. istioctl/pkg/multicluster/remote_secret_test.go

    		want            string
    		wantErrStr      string
    		k8sMinorVersion string
    	}{
    		{
    			testName:   "fail to create remote secret token",
    			objs:       []runtime.Object{kubeSystemNamespace, sa, saSecretMissingToken},
    			wantErrStr: `no "token" data found`,
    		},
    		{
    			testName:          "fail to encode secret",
    			objs:              []runtime.Object{kubeSystemNamespace, sa, saSecret},
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/generate.go

    			whConfig.URL = webhookURL.String()
    		}
    	}
    
    	// ValidatingWebhookConfiguration failurePolicy is managed by Istiod, so if currently we already have a webhook in cluster
    	// that is set to `Fail` by Istiod, we avoid of setting it back to the default `Ignore`.
    	vwh, err := client.Kube().AdmissionregistrationV1().ValidatingWebhookConfigurations().
    		Get(context.Background(), vwhBaseTemplateName, metav1.GetOptions{})
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  10. cmd/erasure-heal_test.go

    		closeBitrotWriters(staleWriters)
    		if err != nil && !test.shouldFail {
    			t.Errorf("Test %d: should pass but it failed with: %v", i, err)
    		}
    		if err == nil && test.shouldFail {
    			t.Errorf("Test %d: should fail but it passed", i)
    		}
    		if err == nil {
    			// Verify that checksums of staleDisks
    			// match expected values
    			for i := range staleWriters {
    				if staleWriters[i] == nil {
    					continue
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.9K bytes
    - Viewed (0)
Back to top