test: fix shutdown of test/integration/servicecidr.TestMigrateServiceCIDR
Due to a typo in b584b87a94, the wrong
context got canceled. The test still passes, but it takes an additional minute
before it eventually shuts down.
			
			
This commit is contained in:
		@@ -209,7 +209,7 @@ func TestMigrateServiceCIDR(t *testing.T) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	// ServiceCIDR controller
 | 
						// ServiceCIDR controller
 | 
				
			||||||
	tCtx2 := ktesting.Init(t)
 | 
						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)
 | 
						informers2 := informers.NewSharedInformerFactory(client2, resyncPeriod)
 | 
				
			||||||
	go servicecidrs.NewController(
 | 
						go servicecidrs.NewController(
 | 
				
			||||||
		tCtx2,
 | 
							tCtx2,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user