Migrate Pilot e2e tests to common framework.#4296
Migrate Pilot e2e tests to common framework.#4296istio-merge-robot merged 1 commit intoistio:masterfrom
Conversation
|
@nmittler PR needs rebase |
d64bfc1 to
5fbee3c
Compare
5fbee3c to
a524ca9
Compare
Codecov Report
@@ Coverage Diff @@
## master #4296 +/- ##
======================================
+ Coverage 75% 75% +1%
======================================
Files 297 297
Lines 24816 24769 -47
======================================
- Hits 18524 18513 -11
+ Misses 5521 5490 -31
+ Partials 771 766 -5
Continue to review full report at Codecov.
|
|
5k removed, 2k added. Did you forget to add something? |
tests/util/kube_utils.go
Outdated
There was a problem hiding this comment.
Let's not use port-forwarding if possible. It's very brittle (socat based). Can you create an issue and add a link here.
There was a problem hiding this comment.
That's fine, I'm actually not using it anyway. I originally copied mixer_test.go and thought I might need it.
costinm
left a comment
There was a problem hiding this comment.
Did you forget to add some files ? It looks like the tests are deleted but not added.
|
@costinm all tests are now methods within |
|
Ah, github was not even showing it because it was too big... Can you split it back or is it too hard ? Very large files are not nice, and having them grouped a bit is I like that they are now go Tests - junit report will be great and same for the dashboard. |
|
Also Andra had a very good point - for this kind of move it is critical to send an email to istio-dev, I assume "go test -t.run=regex" will now work too ? |
|
Deferring to Zack on the organization ( one file or many ) - treat it as a suggestion / IMHO. |
|
Also: test is failing due to flags - I think preserving the -hub/-tag flag is good and will avoid developers pain ( if they are used with it or have scripts or IDE configs ). Easy to support too. |
|
Before you attempt next refactor, I suggest to stage your changes in two
steps:
1. move the files where you want them to be.
2. make changes to the files.
When you do both together, github UI makes it very difficult to review.
…On Thu, Mar 15, 2018 at 2:34 PM Costin Manolache ***@***.***> wrote:
Also: test is failing due to flags - I think preserving the -hub/-tag flag
is good and will avoid developers pain ( if they are used with it or have
scripts or IDE configs ). Easy to support too.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4296 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AJGIxov7Gbbv3JpnOUVD9NolK4J_W43Qks5tet5wgaJpZM4SsrqM>
.
|
|
@nmittler PR needs rebase |
062f2f4 to
d914e73
Compare
|
This PR is huge and should wait for after the release. We have other critical things to get in and this kind of churn should be done in the beginning of the release. I see many files being removed, without understanding where the corresponding tests have been moved. We also had a chat yesterday with where there was implication the pilot e2e tests will become the standard, and not the common tests / bookinfo @costinm @louiscryan . |
|
@costinm @kyessenov using a TestMain appears to require that all tests be in the same file as the TestMain. If that's the case, there doesn't appear to be a way to break this apart. |
d914e73 to
07a61df
Compare
|
@costinm @kyessenov I was able to separate out the tests into the original files after all. PTAL |
70c84d1 to
2140f35
Compare
c1701bc to
1369418
Compare
prow/istio-pilot-e2e.sh
Outdated
prow/istio-pilot-e2e.sh
Outdated
prow/istio-pilot-e2e-v1alpha3.sh
Outdated
prow/istio-pilot-e2e-v1alpha3.sh
Outdated
tests/e2e/README.md
Outdated
There was a problem hiding this comment.
istioctl="${GOPATH}/out/linux_amd64/release/istioctl"
1369418 to
e1942d4
Compare
e1942d4 to
c712602
Compare
|
@nmittler PR needs rebase |
c712602 to
19b25df
Compare
19b25df to
e9be40b
Compare
|
@nmittler PR needs rebase |
e9be40b to
99ab4f4
Compare
|
So you know, you actually don't need to rebase, you can just merge. github review do not work well with rebase, so you end up losing all the reviewer work. |
99ab4f4 to
db8a768
Compare
|
@nmittler PR needs rebase |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: costinm, kyessenov, ZackButcher The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test all [submit-queue is verifying that this PR is safe to merge] |
|
Automatic merge from submit-queue. |
No description provided.