Commit a0ccf07
Make test_actor_ledger more reliable (#1948)
Summary:
Pull Request resolved: #1948
Fixing this error:
```
running 1 test
test proc::tests::test_actor_ledger ... FAILED
failures:
failures:
proc::tests::test_actor_ledger
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 217 filtered out; finished in 0.01s
stderr ───
thread '<unnamed>' panicked at hyperactor/src/proc.rs:2745:13:
assertion `left == right` failed
left: {ActorId(Ranked(WorldId("local"), 0), "root", 0): ActorTreeSnapshot { pid: 0, type_name: "hyperactor::proc::tests::TestActor", status: Idle, stats: ActorStats { num_processed_messages: 2 }, handlers: {}, children: {3: ActorTreeSnapshot { pid: 3, type_name: "hyperactor::proc::tests::TestActor", status: Idle, stats: ActorStats { num_processed_messages: 0 }, handlers: {}, children: {}, events: [], spans: [] }}, events: [], spans: [] }}
right: {ActorId(Ranked(WorldId("local"), 0), "root", 0): ActorTreeSnapshot { pid: 0, type_name: "hyperactor::proc::tests::TestActor", status: Idle, stats: ActorStats { num_processed_messages: 3 }, handlers: {}, children: {3: ActorTreeSnapshot { pid: 3, type_name: "hyperactor::proc::tests::TestActor", status: Idle, stats: ActorStats { num_processed_messages: 0 }, handlers: {}, children: {}, events: [], spans: [] }}, events: [], spans: [] }}
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```
The num_processed_messages might still increase until the root is idle (as it processes
signals as well as messages).
Reviewed By: mariusae
Differential Revision: D87499544
fbshipit-source-id: 542fdb640ec8e3e64e049f3e2bdcc5be628994801 parent aa460ae commit a0ccf07
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2731 | 2731 | | |
2732 | 2732 | | |
2733 | 2733 | | |
| 2734 | + | |
| 2735 | + | |
2734 | 2736 | | |
2735 | 2737 | | |
2736 | 2738 | | |
| |||
0 commit comments