fix readiness check test
This commit is contained in:
		
							parent
							
								
									ea8ac862c3
								
							
						
					
					
						commit
						eecea5a1be
					
				| 
						 | 
				
			
			@ -25,7 +25,9 @@ var _ = Describe("ReadynessCheck suite", func() {
 | 
			
		|||
 | 
			
		||||
			rw := httptest.NewRecorder()
 | 
			
		||||
 | 
			
		||||
			handler := NewReadynessCheck(in.readyPath, in.healthVerifiable)(http.NotFoundHandler())
 | 
			
		||||
			ctx := context.Background()
 | 
			
		||||
 | 
			
		||||
			handler := NewReadynessCheck(in.readyPath, in.healthVerifiable, ctx)(http.NotFoundHandler())
 | 
			
		||||
			handler.ServeHTTP(rw, req)
 | 
			
		||||
 | 
			
		||||
			Expect(rw.Code).To(Equal(in.expectedStatus))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue