Skip to content

fix broken test test_actor_mesh_stop_timeout#3350

Open
pzhan9 wants to merge 1 commit intometa-pytorch:mainfrom
pzhan9:export-D99285980
Open

fix broken test test_actor_mesh_stop_timeout#3350
pzhan9 wants to merge 1 commit intometa-pytorch:mainfrom
pzhan9:export-D99285980

Conversation

@pzhan9
Copy link
Copy Markdown
Contributor

@pzhan9 pzhan9 commented Apr 2, 2026

Summary:
This test start to fail after D96760759:

thread '<unnamed>' (27024) panicked at fbcode/monarch/hyperactor_mesh/src/actor_mesh.rs:1555:9:
Stop took 5.137553ms, expected >= 900ms (should have waited for timeout)
stack backtrace:

I think this is because D96760759:

sends a stop signal to the proc
without waiting for termination (callers never used the result).

which make the time spent on stop getting much shorter.

I do not get why this test need to assert on >900ms. The comment in the code did not explain that either. Remove it.

Differential Revision: D99285980

Summary:
This test start to fail after D96760759:

```
thread '<unnamed>' (27024) panicked at fbcode/monarch/hyperactor_mesh/src/actor_mesh.rs:1555:9:
Stop took 5.137553ms, expected >= 900ms (should have waited for timeout)
stack backtrace:
```

I think this is because D96760759:

> sends a stop signal to the proc
without waiting for termination (callers never used the result).

which make the time spent on stop getting much shorter.

I do not get why this test need to assert on `>900ms`. The comment in the code did not explain that either. Remove it.

Differential Revision: D99285980
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Apr 2, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Apr 2, 2026

@pzhan9 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D99285980.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant