Skip to content

Commit

Permalink
increase the maxAttempts for checking namespace deleted. (istio#2179)
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue.

increase the maxAttempts for checking namespace deleted.

**What this PR does / why we need it**:

I see multiple times for failure of namespace deletion even with this number of attempts, for mixer e2e. This causes a failure of another test for cluster-wide tests, since multiple tests are sharing the same 'istio-system' namespace.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes istio#2157

**Special notes for your reviewer**:

**Release note**:

```release-note
none
```
  • Loading branch information
jmuk authored and istio-merge-robot committed Jan 12, 2018
1 parent 94e2501 commit 5976c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/framework/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func (k *KubeInfo) Teardown() error {
}

// confirm the namespace is deleted as it will cause future creation to fail
maxAttempts := 20
maxAttempts := 30
namespaceDeleted := false
for attempts := 1; attempts <= maxAttempts; attempts++ {
namespaceDeleted, _ = util.NamespaceDeleted(k.Namespace)
Expand Down

0 comments on commit 5976c82

Please sign in to comment.