Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestPodUpdatesBatching (0.54 sec)

  1. pkg/controller/endpointslice/endpointslice_controller_test.go

    			}
    		})
    	}
    }
    
    // TestPodUpdatesBatching verifies that endpoint updates caused by pod updates are batched together.
    // This test uses real time.Sleep, as there is no easy way to mock time in endpoints controller now.
    // TODO(mborsz): Migrate this test to mock clock when possible.
    func TestPodUpdatesBatching(t *testing.T) {
    	t.Parallel()
    
    	resourceVersion := 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  2. pkg/controller/endpoint/endpoints_controller_test.go

    }
    
    // TestPodUpdatesBatching verifies that endpoint updates caused by pod updates are batched together.
    // This test uses real time.Sleep, as there is no easy way to mock time in endpoints controller now.
    // TODO(mborsz): Migrate this test to mock clock when possible.
    func TestPodUpdatesBatching(t *testing.T) {
    	type podUpdate struct {
    		delay   time.Duration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
Back to top