lbryio / lbry-sdk

The LBRY SDK for building decentralized, censorship resistant, monetized, digital content apps.
https://lbry.com
MIT License
7.19k stars 484 forks source link

Improve test reliability #3632

Closed jackrobison closed 1 year ago

eukreign commented 1 year ago

@jackrobison tests are still failing

======================================================================
FAIL: test_setting_stream_fields (integration.claims.test_claim_commands.StreamCommands)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/lbry-sdk/lbry-sdk/lbry/testcase.py", line 145, in run
    self.loop.run_until_complete(maybe_coroutine)
  File "/opt/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
    return future.result()
  File "/home/runner/work/lbry-sdk/lbry-sdk/tests/integration/claims/test_claim_commands.py", line 1824, in test_setting_stream_fields
    self.assertEqual(4, len(await self.claim_search(release_time='>0', order_by=['release_time'])))
AssertionError: 4 != 3