Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6288b40

Browse files
committedJun 24, 2025
Add IsValid asserts
1 parent 7c8bb12 commit 6288b40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎lldb/test/API/lang/swift/async/actors/unprioritised_jobs/TestSwiftActorUnprioritisedJobs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,11 @@ def test_actor_unprioritised_jobs(self):
4949
if "Entry.main()" in t.frame[0].name:
5050
frame = t.frame[0]
5151
break
52+
self.assertTrue(frame.IsValid())
5253

5354
defaultActor = frame.var("a.$defaultActor")
5455
unprioritised_jobs = defaultActor.GetChildMemberWithName("unprioritised_jobs")
56+
self.assertTrue(unprioritised_jobs.IsValid())
5557

5658
# There are 4 child tasks (async let), the first one occupies the actor
5759
# with a sleep, the next 3 go on to the queue.

0 commit comments

Comments
 (0)
Failed to load comments.