dash/qa/rpc-tests/test_framework
Russell Yanofsky 8463aaa63c [qa] Increase wallet-dump RPC timeout
Increase wallet-dump RPC timeout from 30 seconds to 1 minute. This avoids a
timeout error that seemed to happen regularly (around 50% of builds) on a
particular jenkins server during the first getnewaddress RPC call made by the
test.

The failing stack trace looked like:

    Unexpected exception caught during testing: timeout('timed out',)

    File ".../bitcoin/qa/rpc-tests/test_framework/test_framework.py", line 146, in main
      self.run_test()
    File ".../bitcoin/qa/rpc-tests/wallet-dump.py", line 73, in run_test
      addr = self.nodes[0].getnewaddress()
    File ".../bitcoin/qa/rpc-tests/test_framework/coverage.py", line 49, in __call__
      return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
    File ".../bitcoin/qa/rpc-tests/test_framework/authproxy.py", line 145, in __call__
      response = self._request('POST', self.__url.path, postdata.encode('utf-8'))
    File ".../bitcoin/qa/rpc-tests/test_framework/authproxy.py", line 121, in _request
      return self._get_response()
    File ".../bitcoin/qa/rpc-tests/test_framework/authproxy.py", line 160, in _get_response
      http_response = self.__conn.getresponse()
    File "/usr/lib/python3.4/http/client.py", line 1171, in getresponse
      response.begin()
    File "/usr/lib/python3.4/http/client.py", line 351, in begin
      version, status, reason = self._read_status()
    File "/usr/lib/python3.4/http/client.py", line 313, in _read_status
      line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
    File "/usr/lib/python3.4/socket.py", line 374, in readinto
      return self._sock.recv_into(b)
2016-11-07 12:04:01 -05:00
..
__init__.py [QA] restructure rpc tests directory 2015-05-18 15:25:45 +02:00
address.py test segwit uncompressed key fixes 2016-10-17 00:34:37 +08:00
authproxy.py test: Avoid ConnectionResetErrors during RPC tests 2016-09-29 15:02:08 +00:00
bignum.py [qa] Switch to py3 2016-05-05 15:43:37 +02:00
blockstore.py [qa] blockstore: Switch to dumb dbm 2016-09-29 11:18:31 +02:00
blocktools.py Rename CTxinWitness -> CTxInWitness 2016-07-06 19:46:46 -04:00
comptool.py [qa] Switch to py3 2016-05-05 15:43:37 +02:00
coverage.py test: Explicitly set encoding to utf8 when opening text files 2016-09-29 17:50:05 +02:00
key.py Make test framework produce lowS signatures 2016-10-16 23:53:35 +08:00
mininode.py [qa] Add support for compactblocks v2 to mininode 2016-10-04 19:10:49 +02:00
netutil.py test: Explicitly set encoding to utf8 when opening text files 2016-09-29 17:50:05 +02:00
script.py Fix SIGHASH_SINGLE bug in test_framework SignatureHash 2016-09-06 00:50:23 +08:00
siphash.py Implement SipHash in Python 2016-07-29 09:41:58 -04:00
socks5.py [qa] Switch to py3 2016-05-05 15:43:37 +02:00
test_framework.py [qa] util: Move wait_bitcoinds() into stop_nodes() 2016-10-02 11:16:44 +02:00
util.py [qa] Increase wallet-dump RPC timeout 2016-11-07 12:04:01 -05:00