You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which function do you want to add comments to?
TestSyncScheduleInfoToCacheNodes in pkg/ddc/jindo/node_test.go
What comments do you want to add?
[function comments]
// TestSyncScheduleInfoToCacheNodes tests the correctness of the SyncScheduleInfoToCacheNodes method.
// This method synchronizes scheduling information to cache nodes.
// The test cases cover the following scenarios:
// 1. "create" - Creates a new worker node and synchronizes scheduling information.
// 2. "add" - Adds a new node to an existing worker group and synchronizes scheduling information.
// 3. "noController" - Handles a pod without a corresponding StatefulSet controller to check proper processing.
// 4. "deprecated" - Processes deprecated worker components to ensure synchronization logic remains valid.
// The test constructs various worker, pod, and node resources, invokes SyncScheduleInfoToCacheNodes,
// and verifies whether the synchronized node labels match the expected results.
The text was updated successfully, but these errors were encountered:
Which function do you want to add comments to?
TestSyncScheduleInfoToCacheNodes in pkg/ddc/jindo/node_test.go
What comments do you want to add?
[function comments]
The text was updated successfully, but these errors were encountered: