From f6624450f7af083e6d540d816c8287fcd5fa9850 Mon Sep 17 00:00:00 2001 From: Zijian Zang <2639980868@qq.com> Date: Sat, 6 Jun 2026 01:11:03 +0800 Subject: [PATCH] Add comment to TestSyncReplicas in replicas_test.go --- pkg/ddc/efc/replicas_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/ddc/efc/replicas_test.go b/pkg/ddc/efc/replicas_test.go index 861beb36d09..8177c236b16 100644 --- a/pkg/ddc/efc/replicas_test.go +++ b/pkg/ddc/efc/replicas_test.go @@ -53,6 +53,9 @@ func newEFCEngineREP(client client.Client, name string, namespace string) *EFCEn return engine } +// TestSyncReplicas verifies that SyncReplicas correctly handles scale-out (hbase: spec=3, worker=2), +// scale-in (hadoop: spec=1, worker=3), and no-scale (obj: spec=2, worker=2) scenarios by checking +// the runtime conditions set after reconciliation. func TestSyncReplicas(t *testing.T) { nodeInputs := []*v1.Node{ {