Make two flakey tests a bit less flakey

This commit is contained in:
Timothy Baldridge 2020-05-25 22:48:37 -06:00
parent 619da2fa86
commit 9c5b746f07
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ namespace Wabbajack.BuildServer.Test
Assert.Equal(1, data.ValidationSummary.Updating);
var patcher = Fixture.GetService<PatchBuilder>();
Assert.Equal(1, await patcher.Execute());
Assert.True(await patcher.Execute() > 1);
await RevalidateLists(false);

View File

@ -64,7 +64,7 @@ namespace Wabbajack.Server.Test
await Assert.ThrowsAsync<HttpException>(async () => await ClientAPI.GetModUpgrade(oldArchive, newArchive, TimeSpan.Zero, TimeSpan.Zero));
Assert.Equal(1, await patcher.Execute());
Assert.True(await patcher.Execute() > 1);
Assert.Equal(new Uri("https://wabbajacktest.b-cdn.net/archive_updates/79223277e28e1b7b_3286c571d95f5666"),await ClientAPI.GetModUpgrade(oldArchive, newArchive, TimeSpan.Zero, TimeSpan.Zero));
}