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

Fix service port naming convention #1368

Merged
merged 22 commits into from
Jan 27, 2021
Merged

Fix service port naming convention #1368

merged 22 commits into from
Jan 27, 2021

Conversation

lujiajing1126
Copy link
Contributor

@lujiajing1126 lujiajing1126 commented Jan 18, 2021

@lujiajing1126 lujiajing1126 changed the title Feature: service port naming convention Fix service port naming convention Jan 18, 2021
@codecov
Copy link

codecov bot commented Jan 18, 2021

Codecov Report

Merging #1368 (6e7c287) into master (fb3e8eb) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1368   +/-   ##
=======================================
  Coverage   86.22%   86.22%           
=======================================
  Files          90       90           
  Lines        5146     5146           
=======================================
  Hits         4437     4437           
  Misses        539      539           
  Partials      170      170           
Impacted Files Coverage Δ
pkg/service/collector.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fb3e8eb...6e7c287. Read the comment docs.

@lujiajing1126
Copy link
Contributor Author

@jpkrohling I have added an e2e with istio integration which can reproduce the issue #1360

@jpkrohling
Copy link
Contributor

That looks awesome! I'm not sure the CI will be able to handle that, but it would be great if this works.

@lujiajing1126
Copy link
Contributor Author

lujiajing1126 commented Jan 19, 2021

That looks awesome! I'm not sure the CI will be able to handle that, but it would be great if this works.

Now everything is fine. Besides, I am worried about this issue istio/istio#16282.

I guess we also need an e2e case for gRPC over tls.

@jpkrohling
Copy link
Contributor

@kevinearls would you like to review this one?

Copy link
Contributor

@kevinearls kevinearls left a comment

Choose a reason for hiding this comment

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

In general this looks pretty good. I've requested replacing some "if err" blocks with calls to stretchr require as that makes code more concise and gives better error information.

As the test method is quite long I've requested refactoring a couple of wait blocks into functions, one which can stay in this file but another which should go to utils.go as it is also used by other tests.

test/e2e/istio_test.go Show resolved Hide resolved
test/e2e/istio_test.go Outdated Show resolved Hide resolved
test/e2e/istio_test.go Outdated Show resolved Hide resolved
test/e2e/istio_test.go Outdated Show resolved Hide resolved
test/e2e/istio_test.go Outdated Show resolved Hide resolved
test/e2e/istio_test.go Outdated Show resolved Hide resolved
test/e2e/istio_test.go Outdated Show resolved Hide resolved
Signed-off-by: Megrez Lu <[email protected]>
Signed-off-by: Megrez Lu <[email protected]>
Signed-off-by: Megrez Lu <[email protected]>
Signed-off-by: Megrez Lu <[email protected]>
Signed-off-by: Megrez Lu <[email protected]>
Signed-off-by: Megrez Lu <[email protected]>
Signed-off-by: Megrez Lu <[email protected]>
test/e2e/istio_test.go Outdated Show resolved Hide resolved
@lujiajing1126
Copy link
Contributor Author

Any other comment?

@kevinearls
Copy link
Contributor

@lujiajing1126 No not from me. Once you take out that error parameter I'll approve the PR.

@lujiajing1126
Copy link
Contributor Author

@lujiajing1126 No not from me. Once you take out that error parameter I'll approve the PR.

Thanks for pointing that out, I even didn't notice that. Fixed.

test/e2e/utils.go Outdated Show resolved Hide resolved
@lujiajing1126
Copy link
Contributor Author

@jpkrohling Could you pls have a final check? Or any other comment?

Copy link
Contributor

@jpkrohling jpkrohling left a comment

Choose a reason for hiding this comment

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

If @kevinearls approved, that's good enough for me :-) Thanks for your PR!

@lujiajing1126
Copy link
Contributor Author

lujiajing1126 commented Jan 27, 2021

If @kevinearls approved, that's good enough for me :-) Thanks for your PR!

Thanks! But it seems the merge process has to be triggered manually since github workflow files have been changed

@jpkrohling jpkrohling merged commit 9dae8ab into jaegertracing:master Jan 27, 2021
@lujiajing1126 lujiajing1126 deleted the feature/service-port-naming-convention branch January 27, 2021 08:46
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