Adjust endpoint watch timeout to 180

This commit is contained in:
Caleb Woodbine 2020-03-05 10:24:25 +13:00
parent be382a812c
commit bf4f46b9fa

View File

@ -2709,7 +2709,7 @@ var _ = SIGDescribe("Services", func() {
framework.ExpectNoError(err, "failed to create Endpoint") framework.ExpectNoError(err, "failed to create Endpoint")
// setup a watch for the Endpoint // setup a watch for the Endpoint
endpointWatchTimeoutSeconds := int64(60) endpointWatchTimeoutSeconds := int64(180)
endpointWatch, err := f.ClientSet.CoreV1().Endpoints(ns).Watch(context.TODO(), metav1.ListOptions{LabelSelector: "testendpoint-static=true", TimeoutSeconds: &endpointWatchTimeoutSeconds}) endpointWatch, err := f.ClientSet.CoreV1().Endpoints(ns).Watch(context.TODO(), metav1.ListOptions{LabelSelector: "testendpoint-static=true", TimeoutSeconds: &endpointWatchTimeoutSeconds})
framework.ExpectNoError(err, "failed to setup watch on newly created Endpoint") framework.ExpectNoError(err, "failed to setup watch on newly created Endpoint")
endpointWatchChan := endpointWatch.ResultChan() endpointWatchChan := endpointWatch.ResultChan()