mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 22:46:49 +01:00
Labeling issue with rapid testing of lightning payments
This commit is contained in:
parent
07e13747cf
commit
4972f0ab7b
1 changed files with 4 additions and 1 deletions
|
@ -522,7 +522,10 @@ namespace BTCPayServer.Tests
|
|||
|
||||
async Task CanSendLightningPaymentCore(ServerTester tester, TestAccount user)
|
||||
{
|
||||
await Task.Delay(TimeSpan.FromMilliseconds(RandomUtils.GetUInt32() % 1000));
|
||||
// TODO: If this parameter is less than 1 second we start having concurrency problems
|
||||
await Task.Delay(TimeSpan.FromMilliseconds(1000));
|
||||
//
|
||||
|
||||
var invoice = await user.BitPay.CreateInvoiceAsync(new Invoice()
|
||||
{
|
||||
Price = 0.01m,
|
||||
|
|
Loading…
Add table
Reference in a new issue