Skip to content

Add Notation to TestJindoEngine_DeleteFusePersistentVolume in pkg\ddc\jindo\delete_volume_test.go. #4625

@laiyindagm

Description

@laiyindagm

Which function do you want to add comments to?

TestJindoEngine_DeleteFusePersistentVolume in pkg\ddc\jindo\delete_volume_test.go.

What comments do you want to add?

// It creates a fake client with a predefined Persistent Volume and initializes two instances of JindoEngine,
// one with runtime enabled and one without. It then runs test cases to verify the deletion behavior of the
// Persistent Volume in both scenarios.
//
// Test cases:
// - JindoEngine with runtime enabled: expects the Persistent Volume to be deleted without errors.
// - JindoEngine without runtime enabled: expects the Persistent Volume to be deleted with an error.
//
// The function uses the doTestCases helper to execute the test cases and validate the results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions