Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for compareCacheWithNodeInfoSnapshot (0.22 sec)

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

    			if err := cache.UpdateSnapshot(logger, snapshot); err != nil {
    				t.Error(err)
    			}
    			if err := compareCacheWithNodeInfoSnapshot(t, cache, snapshot); err != nil {
    				t.Error(err)
    			}
    		})
    	}
    }
    
    func compareCacheWithNodeInfoSnapshot(t *testing.T, cache *cacheImpl, snapshot *Snapshot) error {
    	// Compare the map.
    	if len(snapshot.nodeInfoMap) != cache.nodeTree.numNodes {
    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