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

Address review comments from #2655 #2673

Merged
merged 1 commit into from
Dec 1, 2020

Conversation

albertteoh
Copy link
Contributor

Signed-off-by: albertteoh albert.teoh@logz.io

Which problem is this PR solving?

Short description of the changes

  • Shorten best case scenario conditional wait time.
  • Leverage assert's formatted string support.

Signed-off-by: albertteoh <albert.teoh@logz.io>
@albertteoh albertteoh requested a review from a team as a code owner December 1, 2020 04:48
Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

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

thanks

@yurishkuro
Copy link
Member

yurishkuro commented Dec 1, 2020

weird, staticcheck failed, but did not print the log

https://github.com/jaegertracing/jaeger/pull/2673/checks?check_run_id=1478025515#step:5:40

@albertteoh
Copy link
Contributor Author

weird, staticcheck failed, but did not print the log

https://github.com/jaegertracing/jaeger/pull/2673/checks?check_run_id=1478025515#step:5:40

I reported the issue here: #2674
Seems to be a flaky test?

@yurishkuro
Copy link
Member

The linter ran before the tests:

time staticcheck ./... \
	| grep -v \
		-e model/model.pb.go \
		-e thrift-gen/ \
	>> .lint.log || true
Command exited with non-zero status 1

@albertteoh
Copy link
Contributor Author

Yes, sorry, I missed that. It is odd and I'd expect that to exit early too. Just ran it locally and returned a 0 status code (IIUC, should this always return a 0 status code with || true?):

$ staticcheck ./... \
	| grep -v \
		-e model/model.pb.go \
		-e thrift-gen/ \
	>> .lint.log || true
$ echo $?
0

@codecov
Copy link

codecov bot commented Dec 1, 2020

Codecov Report

Merging #2673 (d33beaf) into master (a7be3a8) will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2673      +/-   ##
==========================================
- Coverage   95.56%   95.54%   -0.03%     
==========================================
  Files         214      214              
  Lines        9535     9535              
==========================================
- Hits         9112     9110       -2     
- Misses        345      346       +1     
- Partials       78       79       +1     
Impacted Files Coverage Δ
cmd/query/app/server.go 88.52% <0.00%> (-1.64%) ⬇️

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 a7be3a8...d33beaf. Read the comment docs.

@yurishkuro yurishkuro merged commit 761facc into jaegertracing:master Dec 1, 2020
@yurishkuro
Copy link
Member

I rerun the job and it succeeded

@albertteoh albertteoh deleted the address-review-2655 branch December 1, 2020 07:17
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.

2 participants