File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
test/e2e/framework/service Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -325,8 +325,8 @@ func (j *TestJig) WaitForEndpointOnNode(nodeName string) error {
325
325
})
326
326
}
327
327
328
- // WaitForAvailableEndpoint waits for at least 1 endpoint to be available till timeout
329
- func (j * TestJig ) WaitForAvailableEndpoint (timeout time.Duration ) error {
328
+ // waitForAvailableEndpoint waits for at least 1 endpoint to be available till timeout
329
+ func (j * TestJig ) waitForAvailableEndpoint (timeout time.Duration ) error {
330
330
//Wait for endpoints to be created, this may take longer time if service backing pods are taking longer time to run
331
331
endpointSelector := fields .OneTermEqualSelector ("metadata.name" , j .Name )
332
332
stopCh := make (chan struct {})
@@ -842,7 +842,7 @@ func (j *TestJig) checkClusterIPServiceReachability(svc *v1.Service, pod *v1.Pod
842
842
clusterIP := svc .Spec .ClusterIP
843
843
servicePorts := svc .Spec .Ports
844
844
845
- err := j .WaitForAvailableEndpoint (ServiceEndpointsTimeout )
845
+ err := j .waitForAvailableEndpoint (ServiceEndpointsTimeout )
846
846
if err != nil {
847
847
return err
848
848
}
@@ -875,7 +875,7 @@ func (j *TestJig) checkNodePortServiceReachability(svc *v1.Service, pod *v1.Pod)
875
875
return err
876
876
}
877
877
878
- err = j .WaitForAvailableEndpoint (ServiceEndpointsTimeout )
878
+ err = j .waitForAvailableEndpoint (ServiceEndpointsTimeout )
879
879
if err != nil {
880
880
return err
881
881
}
You can’t perform that action at this time.
0 commit comments