mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	gofmt -r "WaitToWatch->WaitForWatchCompletion"
This commit is contained in:
		@@ -446,7 +446,7 @@ func TestWatchControllers(t *testing.T) {
 | 
			
		||||
 | 
			
		||||
	go manager.watchControllers()
 | 
			
		||||
 | 
			
		||||
	fakeEtcd.WaitToWatch()
 | 
			
		||||
	fakeEtcd.WaitForWatchCompletion()
 | 
			
		||||
 | 
			
		||||
	// Test normal case
 | 
			
		||||
	testControllerSpec.ID = "foo"
 | 
			
		||||
@@ -473,7 +473,7 @@ func TestWatchControllers(t *testing.T) {
 | 
			
		||||
 | 
			
		||||
	// Test purposeful shutdown
 | 
			
		||||
	go manager.watchControllers()
 | 
			
		||||
	fakeEtcd.WaitToWatch()
 | 
			
		||||
	fakeEtcd.WaitForWatchCompletion()
 | 
			
		||||
	fakeEtcd.WatchStop <- true
 | 
			
		||||
 | 
			
		||||
	// Did everything shut down?
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user