-
Notifications
You must be signed in to change notification settings - Fork 817
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
Add flags which allow to pass namespace to e2e tests #1623
Conversation
4c1e35a
to
efcf155
Compare
Build Failed 😱 Build Id: d96a0a39-6643-48bf-86ea-cfc7d47b15b7 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
efcf155
to
23ddf83
Compare
Build Succeeded 👏 Build Id: 65035d33-96de-45c8-9319-6e06612cfa38 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
How about creating a new namespace at the test runtime? |
May be we can use both options, a flag to generate the namespace and another option as in this PR. Do you mean we should add
|
CreateNamespace() also sets up a new namespaces with |
@pooneh-m, now I got your idea. |
I will update this PR |
23ddf83
to
1239d7b
Compare
1239d7b
to
f7d8683
Compare
@pooneh-m @aLekSer please, review this PR again. At this moment there is the following behavior: One remark: I've noticed that in case if an error is returned after namespace is created and tests fail with error - that recently created namespace will remain. Should I add better error validations to remove dangling namespaces or it's better to do that in a separate PR? |
Overall looks good, but I think we should give some hints how to run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments left about additional details on flags usage.
4d88e50
to
f666568
Compare
E2E test failed:
|
Looks great!!! Thanks for the change.
The defer should clean up the namespace, unless there is a failure with deleting the namespace. If the namespace is pre-created, then the creator of the namespace should clean up. |
@aLekSer thanks for comments. Updated. |
989d032
to
9a8a0a6
Compare
New changes are detected. LGTM label has been removed. |
Build Failed 😱 Build Id: 58f771ac-fef4-4e49-803b-4d677a62a5bf To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
9a8a0a6
to
a1e7b21
Compare
Build Succeeded 👏 Build Id: 9f50c457-e8a8-4459-a463-4b78dd32648e The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
Build Failed 😱 Build Id: 63d01592-d64e-45f2-9d6d-3673cf58b56e To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
1f27c31
to
e07cfca
Compare
Build Failed 😱 Build Id: 03887d1b-9a3e-4707-bfc1-cc6ba2296808 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
e07cfca
to
a05c63b
Compare
Build Failed 😱 Build Id: ea19c2cc-f01d-4d71-8a86-c8c48b5a5686 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
a05c63b
to
243e65c
Compare
Build Failed 😱 Build Id: 5ccd4fc5-16f5-402f-86cd-1e93393506d4 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
namespace flag is empty by default
243e65c
to
9dd28ad
Compare
Build Succeeded 👏 Build Id: 322c2409-8231-465b-9087-8f15c45e947d The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
…1623) * Added flags which allow to pass namespace to e2e tests * use random namespace when flag is empty namespace flag is empty by default * Added a couple of comments related to GAMESERVERS_NAMESPACE flag * Fixed TestTlsWebhook test * reuse existing namespace in several tests update
What type of PR is this?
What this PR does / Why we need it:
We need this flag in order to be able to pass a randomly generated namespace to e2e tests.
Which issue(s) this PR fixes:
Closes #1074