fixbug: creation of separate indices for each label

This commit is contained in:
莘权 马 2023-11-03 18:08:57 +08:00
parent 532099a7c6
commit 8137e1af50
2 changed files with 9 additions and 2 deletions

View file

@ -64,6 +64,11 @@ async def test_react():
assert role.is_idle
env = Environment()
env.add_role(role)
env.publish_message(Message(content="test", tx_to=seed.subscription))
assert not role.is_idle
while not env.is_idle:
await env.run()
assert role.is_idle
env.publish_message(Message(content="test", cause_by=seed.subscription))
assert not role.is_idle
while not env.is_idle: