Merge pull request #124068 from pohly/cidr-controller-test-shutdown

test: fix shutdown of test/integration/servicecidr.TestMigrateServiceCIDR
This commit is contained in:
Kubernetes Prow Robot 2024-04-18 02:12:05 -07:00 committed by GitHub
commit 10a46f9c80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -209,7 +209,7 @@ func TestMigrateServiceCIDR(t *testing.T) {
// ServiceCIDR controller
tCtx2 := ktesting.Init(t)
defer tCtx.Cancel("tearing down ServiceCIDR controller 2")
defer tCtx2.Cancel("tearing down ServiceCIDR controller 2")
informers2 := informers.NewSharedInformerFactory(client2, resyncPeriod)
go servicecidrs.NewController(
tCtx2,