Skip to content

Commit a753fac

Browse files
JaderestJaderest
andauthored
finish BigData Lab1, fix issue #4643 (#4670)
Signed-off-by: Jaderest <[email protected]> Co-authored-by: Jaderest <[email protected]>
1 parent db64172 commit a753fac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/ddc/alluxio/replicas_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ func newAlluxioEngineREP(client client.Client, name string, namespace string) *A
5353
return engine
5454
}
5555

56+
// TestSyncReplicas tests the SyncReplicas method for AlluxioRuntime replica synchronization.
57+
// It simulates scaling scenarios using mock nodes, runtimes, and workloads, and verifies
58+
// runtime conditions and replica counts are updated correctly.
5659
func TestSyncReplicas(t *testing.T) {
5760
nodeInputs := []*corev1.Node{
5861
{

0 commit comments

Comments
 (0)