@@ -447,7 +447,7 @@ func TestServeMTLSRequiresValidClientCert(t *testing.T) {
447447// but the two are siblings under dd-procmgrd, so nothing would ever reap the
448448// executor if the control plane were killed or stopped by itself.
449449func TestServeExitsWhenIdle (t * testing.T ) {
450- srv := NewServer (& fakeExecutor {}, "test-version" )
450+ srv := NewServer (& fakeExecutor {}, "test-version" , nil )
451451 srv .SetReady (true )
452452
453453 socketPath := testListenAddr (t )
@@ -482,7 +482,7 @@ func TestServeExitsWhenIdle(t *testing.T) {
482482// Health is how the control plane checks whether the executor is usable, so it
483483// must not keep an otherwise idle executor alive forever.
484484func TestServeHealthDoesNotDeferIdleExit (t * testing.T ) {
485- srv := NewServer (& fakeExecutor {}, "test-version" )
485+ srv := NewServer (& fakeExecutor {}, "test-version" , nil )
486486 srv .SetReady (true )
487487
488488 socketPath := testListenAddr (t )
@@ -524,7 +524,7 @@ func TestServeHealthDoesNotDeferIdleExit(t *testing.T) {
524524// idle state regardless of how much time passes.
525525func TestIdleTrackingWhileDispatching (t * testing.T ) {
526526 mockClock := clock .NewMock ()
527- srv := NewServer (& fakeExecutor {}, "test-version" )
527+ srv := NewServer (& fakeExecutor {}, "test-version" , nil )
528528 srv .clock = mockClock
529529 srv .touch ()
530530
0 commit comments