increate GC orphan test timeout
This commit is contained in:
		| @@ -297,9 +297,10 @@ var _ = SIGDescribe("Garbage collector", func() { | ||||
| 		// a client is 5. If the qps is saturated, it will take 20s to orphan | ||||
| 		// the pods. However, apiserver takes hundreds of ms to finish one | ||||
| 		// PATCH, and the gc sends the patching in a single thread, so the | ||||
| 		// actual qps is less than 5. According to the test logs, 60s is enough | ||||
| 		// time. | ||||
| 		if err := wait.Poll(5*time.Second, 60*time.Second, func() (bool, error) { | ||||
| 		// actual qps is less than 5. Also, the e2e tests are running in | ||||
| 		// parallel, the GC controller might get distracted by other tests. | ||||
| 		// According to the test logs, 120s is enough time. | ||||
| 		if err := wait.Poll(5*time.Second, 120*time.Second, func() (bool, error) { | ||||
| 			rcs, err := rcClient.List(metav1.ListOptions{}) | ||||
| 			if err != nil { | ||||
| 				return false, fmt.Errorf("Failed to list rcs: %v", err) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Chao Xu
					Chao Xu