Skip to content

Avoid test flakes when creating new projects - #10174

Merged
openshift-bot merged 1 commit into
openshift:masterfrom
enj:enj/i/flake_new_project/10076
Aug 3, 2016
Merged

openshift-bot merged 1 commit into
openshift:masterfrom
enj:enj/i/flake_new_project/10076

Conversation

@enj

@enj enj commented Aug 2, 2016

Copy link
Copy Markdown
Contributor

Fixes #10076

@enj

enj commented Aug 2, 2016

Copy link
Copy Markdown
Contributor Author

[test]

@enj

enj commented Aug 2, 2016

Copy link
Copy Markdown
Contributor Author

cc @mfojtik @liggitt

@liggitt

liggitt commented Aug 3, 2016 •

Copy link
Copy Markdown
Contributor

LGTM

@mfojtik

mfojtik commented Aug 3, 2016

Copy link
Copy Markdown
Contributor

LGTM thanks @enj

@soltysh

soltysh commented Aug 3, 2016 •

Copy link
Copy Markdown
Contributor

LGTM as well.

Flake #9490.

@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 3, 2016
@smarterclayton

Copy link
Copy Markdown
Contributor

Flake #10182

@smarterclayton

Copy link
Copy Markdown
Contributor

Also flake #9624

@openshift-bot

openshift-bot commented Aug 3, 2016 •

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/7468/) (Image: devenv-rhel7_4747)

@enj
enj force-pushed the enj/i/flake_new_project/10076 branch from be9fe27 to aac0097 Compare August 3, 2016 15:19
@enj enj removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 3, 2016
@stevekuznetsov

Copy link
Copy Markdown
Contributor

Give me a moment to review this before re-tagging please

@enj

enj commented Aug 3, 2016

Copy link
Copy Markdown
Contributor Author

Flake on kubernetes/kubernetes#27655
@stevekuznetsov I added the jsonpath checks, let me know if you want me to squash.

@enj

enj commented Aug 3, 2016

Copy link
Copy Markdown
Contributor Author

[test]

Comment thread test/cmd/projects.sh Outdated
os::cmd::expect_success_and_text 'oc new-project test4; sleep 2; oc projects' 'You have one project on this server: "test4".'
os::cmd::expect_success_and_text 'oc new-project test5; sleep 2; oc projects' 'You have access'
os::cmd::expect_success_and_text 'oc new-project test4' 'Now using project "test4" on server '
# avoid flakes in case of slow server update

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.

comment unnecessary

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 disagree, but fine.

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.

Polling instead of sleep is "my scripts are running on some remote server 101" so while I agree that it's at least somewhat useful information, if we put it every single time we made the decision to poll instead of wait we'd double the length of our tests

@enj
enj force-pushed the enj/i/flake_new_project/10076 branch from 9628983 to e965bb5 Compare August 3, 2016 19:23
@enj

enj commented Aug 3, 2016

Copy link
Copy Markdown
Contributor Author

@stevekuznetsov Squashed and ready for merge.

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to e965bb5

@stevekuznetsov

Copy link
Copy Markdown
Contributor

[merge]

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to e965bb5

@openshift-bot

Copy link
Copy Markdown
Contributor

@openshift-bot
openshift-bot merged commit 39476f0 into openshift:master Aug 3, 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.

7 participants