Skip to content

Testing around dynamic ip addresses

David Vorick requested to merge hostdb-testing into master

I did some testing to make sure the renter+host+contractor are all following dynamic IPs correctly. The contractor was not, but I fixed that with some very small code changes. One of the tests I wrote I could not get to pass, even when I was keeping the IP static. @lukechampine could you look at the test I wrote with t.Skip() and see if there's any obvious reason that the file is not downloadable at the end of the test?

With the exception of that final test (exploring that renew functions correctly with dynamic IPs), I think it's safe to establish that the renter can now follow around hosts with dynamic ip addresses. This should dramatically increase the reliability on our network, I believe that we were shedding a dozen or more hosts (out of 42) due to this, and now we won't be losing them.

Merge request reports