From dcc28936ce6966b62af98226fcafa497613fe291 Mon Sep 17 00:00:00 2001 From: George Tsagkarelis Date: Fri, 2 Jun 2023 14:08:02 +0300 Subject: [PATCH] liquidity: bump miner multiplier in autoloop-in test After the FeePPM miner fee fix there has probably been a race condition in this test. The test would expect only one of the two quotes to work, as one had a marginally high miner fee. After the FeePPM fix that miner fee was considered valid and we dispatched two swaps instead of one, with the test setup examining the first one that reached the go channel. --- liquidity/autoloop_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liquidity/autoloop_test.go b/liquidity/autoloop_test.go index ecab8a8..ff7777f 100644 --- a/liquidity/autoloop_test.go +++ b/liquidity/autoloop_test.go @@ -748,7 +748,7 @@ func TestAutoLoopInEnabled(t *testing.T) { quote2Unaffordable = &loop.LoopInQuote{ SwapFee: peer2MaxFee * 2, - MinerFee: peer2MaxFee * 2, + MinerFee: peer2MaxFee * 1000, } quoteRequest1 = &loop.LoopInQuoteRequest{