From ded1ec2e9f4e9e932b1acf70ef10f7e0dbc6865e Mon Sep 17 00:00:00 2001 From: Seth Grover Date: Wed, 18 Dec 2024 10:21:36 -0700 Subject: [PATCH] fixes for malcolm API to wait for ingest time --- src/maltest/maltest.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/maltest/maltest.py b/src/maltest/maltest.py index b4a3468..484f8d5 100755 --- a/src/maltest/maltest.py +++ b/src/maltest/maltest.py @@ -464,10 +464,8 @@ def main(): if artifacts and args.waitForIdle: if not malcolmVm.WaitForLastEventTime(): logging.warning(f"Malcolm instance never achieved idle state after inserting network logs") - # TODO: Malcolm should exclude NGINX access logs from this API, so until then just assume - # it happened along with the PCAP wait. - # elif hasNonPcapArtifacts and (not malcolmVm.WaitForLastEventTime(doctype='host')): - # logging.warning(f"Malcolm instance never achieved idle state after inserting EVTX logs") + elif hasNonPcapArtifacts and (not malcolmVm.WaitForLastEventTime(doctype='host')): + logging.warning(f"Malcolm instance never achieved idle state after inserting EVTX logs") # run the tests if ShuttingDown[0] == False: