Skip to content

Commit f08a24d

Browse files
committed
[ACTP] adapt idle tests to executor key synchronization
1 parent 28951ba commit f08a24d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/privateactionrunner/executor/server_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ func TestServeMTLSRequiresValidClientCert(t *testing.T) {
445445

446446
func TestServeExitsWhenIdle(t *testing.T) {
447447
mockClock := clock.NewMock()
448-
srv := NewServer(&fakeExecutor{}, "test-version")
448+
srv := NewServer(&fakeExecutor{}, "test-version", nil)
449449
srv.clock = mockClock
450450
srv.touch()
451451
srv.SetReady(true)
@@ -482,7 +482,7 @@ func TestServeExitsWhenIdle(t *testing.T) {
482482

483483
func TestIdleTracking(t *testing.T) {
484484
mockClock := clock.NewMock()
485-
srv := NewServer(&fakeExecutor{}, "test-version")
485+
srv := NewServer(&fakeExecutor{}, "test-version", nil)
486486
srv.clock = mockClock
487487
srv.touch()
488488

0 commit comments

Comments
 (0)