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

Tests updates #556

Merged
merged 1 commit into from
Nov 8, 2017
Merged

Tests updates #556

merged 1 commit into from
Nov 8, 2017

Conversation

miekg
Copy link
Owner

@miekg miekg commented Nov 8, 2017

Use :0 for loopback testing. This is more portable between testing environments.
Add testRR that calls NewRR and throws error away - apply it everywhere where needed.

@miekg
Copy link
Owner Author

miekg commented Nov 8, 2017

1.8 breaks, 1.9 works - restarting a 1.8 job - if this is a 1.8 thing I'm inclined to drop that on the spot.

@codecov-io
Copy link

codecov-io commented Nov 8, 2017

Codecov Report

Merging #556 into master will decrease coverage by 0.18%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #556      +/-   ##
==========================================
- Coverage    58.3%   58.12%   -0.19%     
==========================================
  Files          37       37              
  Lines        9877     9877              
==========================================
- Hits         5759     5741      -18     
- Misses       3085     3095      +10     
- Partials     1033     1041       +8
Impacted Files Coverage Δ
msg_helpers.go 48.2% <0%> (-3.36%) ⬇️
types.go 68.02% <0%> (-2.17%) ⬇️
msg.go 77.85% <0%> (-0.98%) ⬇️
zmsg.go 50.44% <0%> (-0.09%) ⬇️
udp_linux.go 70% <0%> (+11.81%) ⬆️

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 813f928...2e2481b. Read the comment docs.

Use :0 for loopback testing. This is more portable between testing environments.
Add testRR that calls NewRR and throws error away - apply it everywhere where needed.

It seems only Go 1.9 can deal with :0 being used. Disable 1.8 in travis.
@miekg miekg merged commit 388f6ee into master Nov 8, 2017
@miekg miekg deleted the tests branch November 8, 2017 10:01
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