From 953d8e84ab253e06e282c17411de05fdf0dfe782 Mon Sep 17 00:00:00 2001 From: checkymander Date: Fri, 16 Feb 2024 11:19:19 -0500 Subject: [PATCH] update wait time for tasking tests --- .../agent_code/Tests/Agent.Tests/AgentTests/TaskingTests.cs | 2 +- .../athena/agent_code/Tests/Agent.Tests/PluginTests/LsTests.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Payload_Type/athena/athena/agent_code/Tests/Agent.Tests/AgentTests/TaskingTests.cs b/Payload_Type/athena/athena/agent_code/Tests/Agent.Tests/AgentTests/TaskingTests.cs index d577940b..d124416d 100644 --- a/Payload_Type/athena/athena/agent_code/Tests/Agent.Tests/AgentTests/TaskingTests.cs +++ b/Payload_Type/athena/athena/agent_code/Tests/Agent.Tests/AgentTests/TaskingTests.cs @@ -79,7 +79,7 @@ public async Task TestGetTaskingMultiple() TestProfile prof = (TestProfile)_profile.First(); Task.Run(_agent.Start); - prof.taskingSent.WaitOne(1000); + prof.taskingSent.WaitOne(3000); _profile.First().StopBeacon(); Assert.IsTrue(((TestTaskManager)_taskManager).jobs.Count > 1); } diff --git a/Payload_Type/athena/athena/agent_code/Tests/Agent.Tests/PluginTests/LsTests.cs b/Payload_Type/athena/athena/agent_code/Tests/Agent.Tests/PluginTests/LsTests.cs index 55d5e613..b8807317 100644 --- a/Payload_Type/athena/athena/agent_code/Tests/Agent.Tests/PluginTests/LsTests.cs +++ b/Payload_Type/athena/athena/agent_code/Tests/Agent.Tests/PluginTests/LsTests.cs @@ -39,6 +39,9 @@ public void TestValidParentPath() if (OperatingSystem.IsMacOS()) { //Temporary skip until I can fucking test on a mac and see what's going on + + //For some reason /etc is returning /System/etc + Assert.IsTrue(true); return; }