From 600ab9d14980ff45bccd484c970698ba7763e47e Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Mon, 12 Mar 2018 13:52:16 -0700 Subject: [PATCH] lnwallet/interface_test: extend publish timeout This commit extends the amount of time we wait for transaction to enter the mempool from 10 to 30 seconds. The wallet's interface tests seem to be particularly slow when run with the race flag, a problem which is only exacerbated by the slowness of travis. With 10s and the race flag, I was able to repro the issues locally fairly consistently. --- lnwallet/interface_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnwallet/interface_test.go b/lnwallet/interface_test.go index e2a64559..ec4a9f7a 100644 --- a/lnwallet/interface_test.go +++ b/lnwallet/interface_test.go @@ -1841,7 +1841,7 @@ func waitForMempoolTx(r *rpctest.Harness, txid *chainhash.Hash) error { var found bool var tx *btcutil.Tx var err error - timeout := time.After(10 * time.Second) + timeout := time.After(30 * time.Second) for !found { // Do a short wait select {