Remove infinite loop in test

This commit is contained in:
nicolas.dorier 2021-11-27 11:40:06 +09:00
parent ec68d2a0e6
commit 6fec929656
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

View file

@ -1583,8 +1583,8 @@ namespace BTCPayServer.Tests
// to make it works. // to make it works.
private void SudoForceSaveLightningSettingsRightNowAndFast(SeleniumTester s, string cryptoCode) private void SudoForceSaveLightningSettingsRightNowAndFast(SeleniumTester s, string cryptoCode)
{ {
retry:
int maxAttempts = 5; int maxAttempts = 5;
retry:
s.Driver.WaitForAndClick(By.Id("save")); s.Driver.WaitForAndClick(By.Id("save"));
try try
{ {