htlcswitch: increase payment timeout in bydirectional unit test

During travis tests the latency of payment might lead to test failure,
for that reason we increase the waiting timeout.
This commit is contained in:
Andrey Samokhvalov authored and Olaoluwa Osuntokun committed 2017-06-25 14:19:56 +01:00
1 parent 9b9f419e51
commit c233b8816e
1 file changed
+1 -1
+1 -1
View File
@@ -425,7 +425,7 @@ func (n *threeHopNetwork) makePayment(sendingPeer, receivingPeer Peer,
select {
case err := <-errChan:
return invoice, err
case <-time.After(12 * time.Second):
case <-time.After(20 * time.Second):
return invoice, errors.New("htlc was not settled in time")
}
}