Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAddPodWillConfirm (0.32 sec)

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

    			if err := deepEqualWithoutGeneration(n, tc.wNodeInfo); err != nil {
    				t.Error(err)
    			}
    		})
    	}
    }
    
    // TestAddPodWillConfirm tests that a pod being Add()ed will be confirmed if assumed.
    // The pod info should still exist after manually expiring unconfirmed pods.
    func TestAddPodWillConfirm(t *testing.T) {
    	nodeName := "node"
    	now := time.Now()
    	ttl := 10 * time.Second
    
    	testPods := []*v1.Pod{
    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