Skip to content

Commit ac33c1b

Browse files
authored
Add Notation to TestUpdateMountTime in pkg/ddc/alluxio/ufs_test.go (#4544)
Signed-off-by: Downtodusk <819639946@qq.com>
1 parent b9fae99 commit ac33c1b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/ddc/alluxio/ufs_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,6 +907,12 @@ func TestFindUnmountedUFS(t *testing.T) {
907907
}
908908
}
909909

910+
// TestUpdateMountTime verifies if AlluxioEngine's updateMountTime method correctly updates runtime's MountTime status.
911+
// It creates a runtime with outdated MountTime, executes the update method, then checks if MountTime gets refreshed timestamp.
912+
//
913+
// param: t *testing.T - The testing context used for running the test and reporting failures.
914+
//
915+
// returns: None (This is a test function and does not return any value.)
910916
func TestUpdateMountTime(t *testing.T) {
911917
yesterday := time.Now().AddDate(0, 0, -1)
912918

0 commit comments

Comments
 (0)