Fixes test by bumping retry count from 4 to 10
Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
| ... | ... |
@@ -605,7 +605,7 @@ func (s *DockerRegistryAuthTokenSuite) TestPushMisconfiguredTokenServiceResponse |
| 605 | 605 |
} |
| 606 | 606 |
|
| 607 | 607 |
func (s *DockerRegistryAuthTokenSuite) TestPushMisconfiguredTokenServiceResponseError(c *check.C) {
|
| 608 |
- ts := getTestTokenService(http.StatusTooManyRequests, `{"errors": [{"code":"TOOMANYREQUESTS","message":"out of tokens"}]}`, 4)
|
|
| 608 |
+ ts := getTestTokenService(http.StatusTooManyRequests, `{"errors": [{"code":"TOOMANYREQUESTS","message":"out of tokens"}]}`, 10)
|
|
| 609 | 609 |
defer ts.Close() |
| 610 | 610 |
s.setupRegistryWithTokenService(c, ts.URL) |
| 611 | 611 |
repoName := fmt.Sprintf("%s/busybox", privateRegistryURL)
|