Skip to content

Wait until user has access to project in extended - #8585

Merged
openshift-bot merged 1 commit into
openshift:masterfrom
smarterclayton:retry_test_acl
Apr 23, 2016
Merged

openshift-bot merged 1 commit into
openshift:masterfrom
smarterclayton:retry_test_acl

Conversation

@smarterclayton

Copy link
Copy Markdown
Contributor

Prevents flakes where CLI can't run.

Fixes #8491

[test]

Prevents flakes where CLI can't run.
@smarterclayton

Copy link
Copy Markdown
Contributor Author

[test]

On Thu, Apr 21, 2016 at 1:20 PM, OpenShift Bot [email protected]
wrote:

continuous-integration/openshift-jenkins/test FAILURE (
https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/3176/)

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#8585 (comment)

Comment thread test/extended/util/cli.go
e2e.Logf("Failed to create a project and namespace %q: %v", c.Namespace(), err)
return nil, err
}
if err := wait.ExponentialBackoff(kclient.DefaultBackoff, func() (bool, error) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll need to cut and paste because integration package loads etcd. Also, I
don't want to poll, I want to backoff.

On Thu, Apr 21, 2016 at 3:50 PM, David Eads [email protected]
wrote:

In test/extended/util/cli.go
#8585 (comment):

@@ -148,6 +150,17 @@ func (c *CLI) SetupProject(name string, kubeClient *kclient.Client, _ map[string
e2e.Logf("Failed to create a project and namespace %q: %v", c.Namespace(), err)
return nil, err
}

  • if err := wait.ExponentialBackoff(kclient.DefaultBackoff, func() (bool, error) {

Ick.
https://github.com/openshift/origin/blob/master/test/util/policy.go#L20.
Even a copy/paste would be preferable.

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/openshift/origin/pull/8585/files/577972ccdb7de74c7cee66c1aff7f57050fc4f5d#r60644156

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should have a helper to create a SAR condition "CanI"

On Thu, Apr 21, 2016 at 6:26 PM, Clayton Coleman [email protected]
wrote:

I'll need to cut and paste because integration package loads etcd. Also,
I don't want to poll, I want to backoff.

On Thu, Apr 21, 2016 at 3:50 PM, David Eads [email protected]
wrote:

In test/extended/util/cli.go
#8585 (comment):

@@ -148,6 +150,17 @@ func (c *CLI) SetupProject(name string, kubeClient *kclient.Client, _ map[string
e2e.Logf("Failed to create a project and namespace %q: %v", c.Namespace(), err)
return nil, err
}

  • if err := wait.ExponentialBackoff(kclient.DefaultBackoff, func() (bool, error) {

Ick.
https://github.com/openshift/origin/blob/master/test/util/policy.go#L20.
Even a copy/paste would be preferable.

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/openshift/origin/pull/8585/files/577972ccdb7de74c7cee66c1aff7f57050fc4f5d#r60644156

@smarterclayton

Copy link
Copy Markdown
Contributor Author

[test]

1 similar comment
@smarterclayton

Copy link
Copy Markdown
Contributor Author

[test]

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to 577972c

@openshift-bot

Copy link
Copy Markdown
Contributor

@smarterclayton

Copy link
Copy Markdown
Contributor Author

[merge] for less flakes

@openshift-bot

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/5666/) (Image: devenv-rhel7_4018)

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to 577972c

@openshift-bot
openshift-bot merged commit 642f0af into openshift:master Apr 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants