Skip to content

Add Notation to TestSyncScheduleInfoToCacheNodes in pkg/ddc/jindo/node_test.go. #4782

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nartsing opened this issue Mar 18, 2025 · 0 comments · May be fixed by #4783
Open

Add Notation to TestSyncScheduleInfoToCacheNodes in pkg/ddc/jindo/node_test.go. #4782

nartsing opened this issue Mar 18, 2025 · 0 comments · May be fixed by #4783

Comments

@nartsing
Copy link

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.  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant