Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for nonexistent (0.17 sec)

  1. istioctl/pkg/proxystatus/proxystatus_test.go

    		},
    		{ // case 2: supplying nonexistent pod name should result in error with flag
    			args:          strings.Split("deployment/random-gibberish", " "),
    			wantException: true,
    		},
    		{ // case 3: supplying nonexistent deployment name
    			args:          strings.Split("deployment/random-gibberish.default", " "),
    			wantException: true,
    		},
    		{ // case 4: supplying nonexistent deployment name in nonexistent namespace
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig_test.go

    		},
    		{ // supplying nonexistent deployment name should result in error
    			args:           strings.Split("clusters deployment/random-gibberish", " "),
    			expectedString: `"deployment/random-gibberish" does not refer to a pod`,
    			wantException:  true,
    		},
    		{ // supplying nonexistent deployment name in nonexistent namespace
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    // TestXLStorages xlStorage.getDiskInfo()
    func TestXLStorageGetDiskInfo(t *testing.T) {
    	path := t.TempDir()
    
    	testCases := []struct {
    		diskPath    string
    		expectedErr error
    	}{
    		{path, nil},
    		{"/nonexistent-dir", errDiskNotFound},
    	}
    
    	// Check test cases.
    	for _, testCase := range testCases {
    		if _, err := getDiskInfo(testCase.diskPath); err != testCase.expectedErr {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    	if bucket == minioMetaBucket {
    		return false
    	}
    	switch {
    	// Check if we have a read quorum issue
    	case errors.Is(err, errErasureReadQuorum):
    		return true
    	// Check if the object is inexistent in most disks but not all of them
    	case errors.Is(err, errFileNotFound) || errors.Is(err, errFileVersionNotFound):
    		for i := range errs {
    			if errs[i] == nil {
    				return true
    			}
    		}
    	}
    	return false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  5. cmd/object-handlers_test.go

    		},
    		// Test case - 2.
    		// Abort non-existing upload ID.
    		{
    			bucket:             bucketName,
    			object:             objectName,
    			uploadID:           "nonexistent-upload-id",
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusNotFound,
    		},
    		// Test case - 3.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top