File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ func TestTotalStorageBytes(t *testing.T) {
164164 })
165165 }
166166}
167+
167168// TestTotalFileNums validates the AlluxioEngine's ability to correctly retrieve total file numbers from the Alluxio runtime.
168169// The test performs the following operations:
169170// - Creates mock AlluxioRuntime configurations
@@ -173,7 +174,7 @@ func TestTotalStorageBytes(t *testing.T) {
173174// Test Components:
174175// - fields: Contains the Alluxio runtime configuration and engine identity
175176// - tests: Table-driven test cases with expected values and error conditions
176- //!
177+ // !
177178// Flow:
178179// 1. Initialize AlluxioEngine with test parameters
179180// 2. Mock Kubernetes command execution using function patch
@@ -1030,8 +1031,8 @@ func TestUpdateMountTime(t *testing.T) {
10301031// - Creates mock runtime, pod and dataset objects
10311032// - Initializes fake Kubernetes client with test objects
10321033// - Mocks AlluxioFileUtils operations:
1033- // - Always reports Ready() = true
1034- // - FindUnmountedAlluxioPaths() returns original paths
1034+ // - Always reports Ready() = true
1035+ // - FindUnmountedAlluxioPaths() returns original paths
10351036// - Compares actual remount paths with expected results
10361037func TestCheckIfRemountRequired (t * testing.T ) {
10371038 yesterday := time .Now ().AddDate (0 , 0 , - 1 )
You can’t perform that action at this time.
0 commit comments