Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for inexistent (0.14 sec)

  1. cmd/xl-storage_test.go

    			expectedErr: nil,
    		},
    		// TestXLStorage case - 3.
    		// TestXLStorage case with non-existent file.
    		{
    			srcVol:      "success-vol",
    			srcPath:     "nonexistent-file",
    			expectedErr: errPathNotFound,
    		},
    		// TestXLStorage case - 4.
    		// TestXLStorage case with non-existent file path.
    		{
    			srcVol:      "success-vol",
    			srcPath:     "path/2/success-file",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    						if dr == nil {
    							fmt.Fprintf(writer,
    								"WARNING: Proxy is stale; it references to non-existent destination rule %s.%s\n",
    								drName, drNamespace)
    						}
    						recordDestinationRules[newResourceID(drNamespace, drName)] = dr.DeepCopy()
    					}
    				}
    				if dr != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    	_, err = obj.NewMultipartUpload(context.Background(), bucket, object, opts)
    	if err == nil {
    		t.Fatalf("%s: Expected to fail since the NewMultipartUpload is initialized on a non-existent bucket.", instanceType)
    	}
    	if errMsg != err.Error() {
    		t.Errorf("%s, Expected to fail with Error \"%s\", but instead found \"%s\".", instanceType, errMsg, err.Error())
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  4. tests/test_application.py

    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/api_route", 200, {"message": "Hello World"}),
            ("/non_decorated_route", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    def test_get_path(path, expected_status, expected_response):
        response = client.get(path)
        assert response.status_code == expected_status
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    	}
    
    	// Attempting to set a non-existent policy should fail.
    	userDN := "uid=dillon,ou=people,ou=swengg,dc=min,dc=io"
    	_, err = s.adm.AttachPolicyLDAP(ctx, madmin.PolicyAssociationReq{
    		Policies: []string{policy + "x"},
    		User:     userDN,
    	})
    	if err == nil {
    		c.Fatalf("should not be able to attach non-existent policy")
    	}
    
    	userReq := madmin.PolicyAssociationReq{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_function_test.cc

                string(TF_Message(s_)));
    }
    
    TEST_F(CApiFunctionTest, Attribute) {
      DefineFunction(func_name_, &func_);
    
      // Get non existent attribute
      TF_Buffer* attr_buf = TF_NewBuffer();
      TF_FunctionGetAttrValueProto(func_, "foo_attr", attr_buf, s_);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  7. 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 non-existent on most disks but not all of them
    	case (errors.Is(err, errFileNotFound) || errors.Is(err, errFileVersionNotFound)) && (countErrs(errs, nil) > 0):
    		return true
    	}
    	return false
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    	}
    	dstFilePath := pathutil.Join(dstVolumeDir, dstPath)
    	if err = checkPathLength(dstFilePath); err != nil {
    		return err
    	}
    	if srcIsDir {
    		// If source is a directory, we expect the destination to be non-existent but we
    		// we still need to allow overwriting an empty directory since it represents
    		// an object empty directory.
    		dirInfo, err := Lstat(dstFilePath)
    		if isSysErrIO(err) {
    			return errFaultyDisk
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top