From fcebc9cebb40e2f40f72ccb4721721870c0bdc5e Mon Sep 17 00:00:00 2001 From: Jake Turner Date: Tue, 28 Apr 2026 13:12:18 +0100 Subject: [PATCH] Make a copy of the RootActions in TestCase.validate_eventids() Otherwise the next call to controller.GetRootActions() will return an empty list --- util/test/rdtest/testcase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/test/rdtest/testcase.py b/util/test/rdtest/testcase.py index 2c1a15a08..ef7102449 100644 --- a/util/test/rdtest/testcase.py +++ b/util/test/rdtest/testcase.py @@ -1166,7 +1166,7 @@ class TestCase: return True def validate_eventids(self, controller: rd.ReplayController) -> bool: - actions = controller.GetRootActions() + actions = controller.GetRootActions().copy() eventIds = set() maxEventId = 0 while len(actions) > 0: