Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove oauth server dependency from most integration tests #18067

Merged
merged 2 commits into from
Jan 13, 2018

Conversation

deads2k
Copy link
Contributor

@deads2k deads2k commented Jan 11, 2018

/assign liggitt enj

@bparees I think this breaks the back of the problem. There are stragglers in the origin integration tests that I'll try to mop up at some later date, but this gives you back a working token.

@smarterclayton fyi

@openshift-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 11, 2018
@deads2k
Copy link
Contributor Author

deads2k commented Jan 11, 2018

/retest

@liggitt
Copy link
Contributor

liggitt commented Jan 11, 2018

/lgtm
All the utilities were unused?

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 11, 2018
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, liggitt

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@deads2k
Copy link
Contributor Author

deads2k commented Jan 11, 2018

/lgtm
All the utilities were unused?

yeah, weird, right?

oauthapi "github.com/openshift/origin/pkg/oauth/apis/oauth"
oauthclient "github.com/openshift/origin/pkg/oauth/generated/internalclientset"
"github.com/openshift/origin/pkg/serviceaccounts"
userapi "github.com/openshift/origin/pkg/user/apis/user"
userclient "github.com/openshift/origin/pkg/user/generated/internalclientset"
Copy link
Contributor

Choose a reason for hiding this comment

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

still dependent on internal apis and auth, i guess i'm not seeing how i copy this pattern.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

still dependent on internal apis and auth, i guess i'm not seeing how i copy this pattern.

Hrm. All our integration tests are still on internal. I don't think I've done anything special that's internal only. Can you copy it and change the package imports to the externals?

Copy link
Contributor

Choose a reason for hiding this comment

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

maybe. it's bitten me in other places but i can try it.

@enj
Copy link
Contributor

enj commented Jan 11, 2018

That's one way to force a valid token 😄

@deads2k
Copy link
Contributor Author

deads2k commented Jan 12, 2018

/retest

1 similar comment
@deads2k
Copy link
Contributor Author

deads2k commented Jan 12, 2018

/retest

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot
Copy link
Contributor

/test all [submit-queue is verifying that this PR is safe to merge]

@openshift-merge-robot
Copy link
Contributor

Automatic merge from submit-queue.

@openshift-merge-robot openshift-merge-robot merged commit 2253a41 into openshift:master Jan 13, 2018
@bparees
Copy link
Contributor

bparees commented Jan 15, 2018

@deads2k fyi this appears to have let me move forward in image-registry, thanks!

@deads2k deads2k deleted the test-03-gettoken branch January 24, 2018 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants