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

Various fixes + test env separation + tests now use DHT #59

Closed
wants to merge 179 commits into from

Conversation

inetic
Copy link
Contributor

@inetic inetic commented Jun 13, 2017

No description provided.

@ghost ghost assigned inetic Jun 13, 2017
@ghost ghost added the in progress label Jun 13, 2017
@codecov
Copy link

codecov bot commented Jun 13, 2017

Codecov Report

❗ No coverage uploaded for pull request base (master@0f188c6). Click here to learn what that means.
The diff coverage is 60.26%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #59   +/-   ##
=========================================
  Coverage          ?   60.26%           
=========================================
  Files             ?       12           
  Lines             ?     1271           
  Branches          ?      164           
=========================================
  Hits              ?      766           
  Misses            ?      384           
  Partials          ?      121
Impacted Files Coverage Δ
icmp_handler.c 40% <40%> (ø)
timer.c 47.61% <47.61%> (ø)
injector.c 52.84% <52.84%> (ø)
utp_bufferevent.c 54.88% <54.88%> (ø)
test_server.c 56.92% <56.92%> (ø)
dht.cpp 59.13% <59.13%> (ø)
injector_helper.c 59.68% <59.68%> (ø)
network.c 63.38% <63.38%> (ø)
log.c 7.14% <7.14%> (ø)
http_util.c 75% <75%> (ø)
... and 2 more

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 0f188c6...4bf1a5a. Read the comment docs.

@inetic inetic changed the title Various fixes + test env separation + tests now use DHT Various fixes + test env separation + tests now use DHT (WIP) Jun 13, 2017
@inetic
Copy link
Contributor Author

inetic commented Jun 13, 2017

Do not merge, still work in progress.

@inetic inetic changed the title Various fixes + test env separation + tests now use DHT (WIP) Various fixes + test env separation + tests now use DHT Jun 14, 2017
@inetic
Copy link
Contributor Author

inetic commented Jun 14, 2017

This PR is no longer WIP and can be merged.

The last commit in this PR adds utilization of DHT into tests. It seems to be useful as I managed to find a few bugs (the "Fixes" PR that this PR is based on).

Running with DHT enabled requires the PC the tests are running on to support hairpinning. Unfortunately that is not the case with Travis CI workers. On my home PC I can only get it done when I set up port forwarding on UDP port 7000.

The test does a check whether hairpinning is enabled, if no, it falls back to setting the IP of an injector manually.

So unfortunately, this doesn't increase test coverage on Travis.

@stale
Copy link

stale bot commented Apr 6, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 6, 2018
@stale stale bot closed this Apr 13, 2018
@ghost ghost removed the in progress label Apr 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants