Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change await event logic for the test_remote_select_torrents function #7171

Merged
merged 1 commit into from
Nov 16, 2022

Conversation

drew2a
Copy link
Contributor

@drew2a drew2a commented Nov 15, 2022

This PR fixes #7133 by changing the await logic from await self.deliver_messages()(with the default timeout equal to 0.1) to the waiting for await callback_called.wait().

This change removes the dependency on the real 0.1-time interval. It should stabilize the test.

@drew2a drew2a force-pushed the fix/7133 branch 2 times, most recently from 745bcd6 to ca8dc3d Compare November 15, 2022 17:15
@drew2a drew2a marked this pull request as ready for review November 15, 2022 17:24
@drew2a drew2a requested review from a team and xoriole and removed request for a team November 15, 2022 17:24
@drew2a drew2a merged commit 9aba4ae into Tribler:main Nov 16, 2022
@drew2a drew2a deleted the fix/7133 branch November 16, 2022 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[Tests] TestRemoteQueryCommunity.test_remote_select_torrents FAILURE
2 participants