Labeling issue with rapid testing of lightning payments

This commit is contained in:
rockstardev 2018-06-15 18:27:37 -05:00
parent 07e13747cf
commit 4972f0ab7b

View file

@ -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,