Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcd
  Commit: daac24626e01996e925c3f55d371d460b25e4c6d
      
https://github.com/btcsuite/btcd/commit/daac24626e01996e925c3f55d371d460b25e4c6d
  Author: Olaoluwa Osuntokun <laol...@gmail.com>
  Date:   2016-09-20 (Tue, 20 Sep 2016)

  Changed paths:
    M goclean.sh

  Log Message:
  -----------
  build: execute tests across all packages serially

This modifies the goclean.sh to execute all the tests amongst
the packages serially. The default behavior of the `go test` command is
to execute all tests in parallel amongst the listed packages. This
behavior can at times cause tests which use the `rpctest` package to
fail due to multiple `btcd` nodes attempting to bind to the same port
simultaneously. As only one node can successfully bind to the port, the
btcd processes for the other concurrent harness instances exit silently
causing the RPC clients to fail with connection timeouts as their
target process no longer exists. Executing all tests serially
eliminates such a race condition which can cause non-deterministic test
failures.


Reply via email to