Skip to content

Commit

Permalink
tests: Increase maximum cycles in test_concurrent_field_update_publis…
Browse files Browse the repository at this point in the history
…hing() to avoid spurious failures
  • Loading branch information
mhthies committed Sep 7, 2024
1 parent 1c84ee0 commit f3ae433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ async def test_concurrent_field_update_publishing(self) -> None:
await asyncio.sleep(0.2)
self.assertEqual(await var1.field('a').read(), await var3.read())

self.assertLessEqual(writable1._write.call_count, 4)
self.assertLessEqual(writable3._write.call_count, 4)
self.assertLessEqual(writable1._write.call_count, 10)
self.assertLessEqual(writable3._write.call_count, 10)
# 1st arg of 2nd call shall be equal
self.assertEqual(writable1._write.call_args[0][0], writable3._write.call_args[0][0])

Expand Down

0 comments on commit f3ae433

Please sign in to comment.