Skip to content

Commit

Permalink
Add time delay to failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
oysand committed Jan 27, 2025
1 parent 40f43d9 commit 0de6f7c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using System.Net.Http;
using System.Net.Http.Json;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Api.Controllers.Models;
using Api.Database.Models;
Expand Down Expand Up @@ -260,6 +261,7 @@ await missionRunThreeResponse.Content.ReadFromJsonAsync<MissionRun>(
SerializerOptions
);

Thread.Sleep(1000);
// Act
string nextMissionUrl = $"missions/definitions/{activeMissionRun.MissionId}/next-run";
var nextMissionResponse = await Client.GetAsync(nextMissionUrl);
Expand Down

0 comments on commit 0de6f7c

Please sign in to comment.