Skip to content

Wait until user has access to project in extended#8585

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

Wait until user has access to project in extended#8585
openshift-bot merged 1 commit intoopenshift:masterfrom
smarterclayton:retry_test_acl

Conversation

@smarterclayton
Copy link
Contributor

Prevents flakes where CLI can't run.

Fixes #8491

[test]

Prevents flakes where CLI can't run.
@smarterclayton
Copy link
Contributor Author

[test]

On Thu, Apr 21, 2016 at 1:20 PM, OpenShift Bot notifications@github.com
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)

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
Contributor

Choose a reason for hiding this comment

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

Copy link
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 notifications@github.com
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
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 ccoleman@redhat.com
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 notifications@github.com
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
Contributor Author

[test]

1 similar comment
@smarterclayton
Copy link
Contributor Author

[test]

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 577972c

@openshift-bot
Copy link
Contributor

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

@smarterclayton
Copy link
Contributor Author

[merge] for less flakes

@openshift-bot
Copy link
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
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