Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestPodAddsBatching (0.45 sec)

  1. pkg/controller/endpointslice/endpointslice_controller_test.go

    		})
    	}
    }
    
    // TestPodAddsBatching verifies that endpoint updates caused by pod addition 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 TestPodAddsBatching(t *testing.T) {
    	t.Parallel()
    
    	type podAdd struct {
    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

    		})
    	}
    }
    
    // TestPodAddsBatching verifies that endpoint updates caused by pod addition 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 TestPodAddsBatching(t *testing.T) {
    	type podAdd 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