Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNodeOperators (0.17 sec)

  1. pkg/scheduler/internal/cache/cache_test.go

    					imageStates[name] = state
    				} else {
    					state.Nodes.Insert(item.Name)
    				}
    			}
    		}
    	}
    	return imageStates
    }
    
    // TestNodeOperators tests node operations of cache, including add, update
    // and remove.
    func TestNodeOperators(t *testing.T) {
    	// Test data
    	cpuHalf := resource.MustParse("500m")
    	mem50m := resource.MustParse("50m")
    	resourceList1 := map[v1.ResourceName]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 63.8K bytes
    - Viewed (0)
Back to top