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 unit test fail #2636

Merged
merged 1 commit into from
Nov 20, 2020
Merged

Fix unit test fail #2636

merged 1 commit into from
Nov 20, 2020

Conversation

zouy414
Copy link
Contributor

@zouy414 zouy414 commented Nov 20, 2020

Signed-off-by: zouyu [email protected]

Which problem is this PR solving?

  • Fix unit test fail

When I run unit test for cmd/agent/app/agent.go:

--- FAIL: TestAgentSamplingEndpoint (0.01s)
    /home/zouyu/WorkSpace/fork/CNCF/jaeger/cmd/agent/app/agent_test.go:68: 
        	Error Trace:	agent_test.go:68
        	            				agent_test.go:129
        	            				agent_test.go:46
        	Error:      	Received unexpected error:
        	            	Get "http://[::]:46579/sampling?service=abc": EOF
        	Test:       	TestAgentSamplingEndpoint
--- FAIL: TestAgentMetricsEndpoint (0.01s)
    /home/zouyu/WorkSpace/fork/CNCF/jaeger/cmd/agent/app/agent_test.go:79: 
        	Error Trace:	agent_test.go:79
        	            				agent_test.go:129
        	            				agent_test.go:76
        	Error:      	Received unexpected error:
        	            	Get "http://[::]:44179/metrics": EOF
        	Test:       	TestAgentMetricsEndpoint
FAIL
FAIL	github.com/jaegertracing/jaeger/cmd/agent/app	0.025s
FAIL

go version go1.15.2 linux/amd64

Short description of the changes

@zouy414 zouy414 requested a review from a team as a code owner November 20, 2020 02:49
@zouy414 zouy414 requested a review from joe-elliott November 20, 2020 02:49
@mergify mergify bot requested a review from jpkrohling November 20, 2020 02:50
Signed-off-by: zouyu <[email protected]>
@codecov
Copy link

codecov bot commented Nov 20, 2020

Codecov Report

Merging #2636 (2834492) into master (e114201) will increase coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2636      +/-   ##
==========================================
+ Coverage   95.08%   95.11%   +0.03%     
==========================================
  Files         213      213              
  Lines        9492     9492              
==========================================
+ Hits         9025     9028       +3     
+ Misses        390      387       -3     
  Partials       77       77              
Impacted Files Coverage Δ
plugin/storage/badger/spanstore/reader.go 95.37% <0.00%> (-0.72%) ⬇️
plugin/storage/integration/integration.go 77.90% <0.00%> (+0.55%) ⬆️
...lugin/sampling/strategystore/adaptive/processor.go 100.00% <0.00%> (+0.92%) ⬆️
cmd/query/app/server.go 90.16% <0.00%> (+1.63%) ⬆️

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 e114201...2834492. Read the comment docs.

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 yurishkuro merged commit 51b53ec into jaegertracing:master Nov 20, 2020
quinniup pushed a commit to k8battleship/jaeger that referenced this pull request Nov 23, 2020
quinniup added a commit to k8battleship/jaeger that referenced this pull request Nov 23, 2020
* Bump opentelemetry-collector to v0.14.0 (jaegertracing#2617)

* bump opentelemetry-collector to v0.14.0

Signed-off-by: Pavel Kositsyn <[email protected]>

* initialize traceid and spanid explicitly

Signed-off-by: Pavel Kositsyn <[email protected]>

* fix comments and empty parent span check

Signed-off-by: Pavel Kositsyn <[email protected]>

* fasten convert traceID/spanID

Signed-off-by: Pavel Kositsyn <[email protected]>

* fix convertTraceID + fix tests

Signed-off-by: Pavel Kositsyn <[email protected]>

* Update CodeQL to latest best practices (jaegertracing#2615)

This will parallelize your analysis and speed things up a bunch.

Signed-off-by: jhutchings1 <[email protected]>

Co-authored-by: Juraci Paixão Kröhling <[email protected]>

* Fix flaky TestReload (jaegertracing#2624)

Signed-off-by: albertteoh <[email protected]>

* Update x/text to v0.3.4 (jaegertracing#2625)

Signed-off-by: Gary Brown <[email protected]>

* Bump to latest UI for snapshot builds (jaegertracing#2626)

Signed-off-by: Yuri Shkuro <[email protected]>

* Implement anonymizer's main program (jaegertracing#2621)

* Preparing release 1.21.0 (jaegertracing#2630)

* updated changelog

Signed-off-by: Joe Elliott <[email protected]>

* Added ui changelog

Signed-off-by: Joe Elliott <[email protected]>

* Fixed UI changelog to point to 1.12.0

Signed-off-by: Joe Elliott <[email protected]>

* Updated jaeger-ui to v1.12.0

Signed-off-by: Joe Elliott <[email protected]>

* Resolving concerns

Signed-off-by: Joe Elliott <[email protected]>

* [anonymizer] Save trace in UI format (jaegertracing#2629)

* Use fossa-contrib/fossa-action instead (jaegertracing#2571)

* Use fossa-contrib/fossa-action instead

Signed-off-by: Sora Morimoto <[email protected]>

* Make step name clearer

Signed-off-by: Sora Morimoto <[email protected]>

Co-authored-by: Yuri Shkuro <[email protected]>

* Update Makefile and Dockerfile for anonymizer (jaegertracing#2632)

Signed-off-by: Ashmita Bohara <[email protected]>

* Fix listen IP in unit test (jaegertracing#2636)

Signed-off-by: zouyu <[email protected]>

* Bump opentelemetry to v0.15.0 (jaegertracing#2634)

* Bump opentelemetry to v0.15.0

Signed-off-by: Pavel Kositsyn <[email protected]>

* add default value instead of nil value for jaegerreceiver config

Signed-off-by: Pavel Kositsyn <[email protected]>

* make lint

Signed-off-by: Pavel Kositsyn <[email protected]>

Co-authored-by: Kositsyn Pavel <[email protected]>
Co-authored-by: Justin Hutchings <[email protected]>
Co-authored-by: Juraci Paixão Kröhling <[email protected]>
Co-authored-by: Albert <[email protected]>
Co-authored-by: Gary Brown <[email protected]>
Co-authored-by: Yuri Shkuro <[email protected]>
Co-authored-by: Ashmita <[email protected]>
Co-authored-by: Joe Elliott <[email protected]>
Co-authored-by: Sora Morimoto <[email protected]>
Co-authored-by: ZouYu <[email protected]>
Co-authored-by: Kositsyn Pavel <[email protected]>
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