Skip to content

Commit

Permalink
fixes for malcolm API to wait for ingest time
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Dec 18, 2024
1 parent ce88e85 commit ded1ec2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/maltest/maltest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ded1ec2

Please sign in to comment.