Skip to content

Commit 4e6df0f

Browse files
junyyang-amdclaude
andcommitted
tests: a refused trainer update leaves the engine unfenced
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 26c786a commit 4e6df0f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tests/entrypoints/test_rl_trainer_routes.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ def test_a_refused_update_answers_400_and_logs_the_broadcast_unreceived(
127127
assert reason in reply.json()["message"]
128128
assert "'refit' has no receiver" in caplog.text
129129
assert sched.weight_version != "v2"
130+
assert not engine._weight_sync_fenced, "nothing was written"
130131

131132

132133
def test_without_enable_rl_the_routes_do_not_exist(serve):

0 commit comments

Comments
 (0)