Skip to content

Commit

Permalink
fix taskingtests
Browse files Browse the repository at this point in the history
  • Loading branch information
checkymander committed Feb 27, 2024
1 parent 00f6f52 commit bf9b92d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ public async Task TestGetTaskingMultiple()
rpfwd = new List<ServerDatagram>(),
delegates = new List<DelegateMessage>(),
}) };

_profile.First().SetTaskingReceived += (sender, args) => taskingReceived.Set();
Agent _agent = new Agent(_profile, _taskManager, _logger, _config, _tokenManager);
TestProfile prof = (TestProfile)_profile.First();

Task.Run(_agent.Start);
_profile.First().SetTaskingReceived += (sender, args) => taskingReceived.Set();

((TestTaskManager)_taskManager).WaitForNumberOfJobs(3);
//prof.taskingSent.WaitOne(1000);
_profile.First().StopBeacon();
Expand Down

0 comments on commit bf9b92d

Please sign in to comment.