File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,6 +166,19 @@ func TestAlluxioEngine_DeleteVolume(t *testing.T) {
166166 doTestCases (testCases , t )
167167}
168168
169+ // TestAlluxioEngine_DeleteFusePersistentVolume tests the functionality of deleting Fuse PersistentVolume in the AlluxioEngine.
170+ // This function is mainly responsible for:
171+ // - Setting up test cases with different configurations of PersistentVolume.
172+ // - Creating a fake client to simulate interactions with the Kubernetes API for testing.
173+ // - Initializing different AlluxioEngine instances with and without runtime settings.
174+ // - Executing test cases and verifying whether the deletion operations of PersistentVolume succeed as expected.
175+
176+ // Parameters:
177+ // - t (*testing.T): The testing framework's testing object, used to report test results and handle test failures.
178+
179+ // Returns:
180+ // - None. The function reports test failures directly through the *testing.T object passed in.
181+
169182func TestAlluxioEngine_DeleteFusePersistentVolume (t * testing.T ) {
170183 testPVInputs := []* v1.PersistentVolume {
171184 {
You can’t perform that action at this time.
0 commit comments