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

Fix unstable test_channels_peers_mapping_drop_excess_peers #6731

Merged
merged 1 commit into from
Jan 18, 2022

Conversation

kozlovsky
Copy link
Contributor

On fast machine, the test [test_channels_peers_mapping_drop_excess_peers](https://github.com/Tribler/tribler/blob/0ee609e142956b7d0c47054e1d9259450a1a20cc/src/tribler-core/tribler_core/components/gigachannel/community/tests/test_gigachannel_community.py#L231) sometimes sets peer.last_response time to the same value for all peers, and fails after that. In this fix, I explicitly set a different time for each peer to avoid this type of failure.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@kozlovsky kozlovsky marked this pull request as ready for review January 18, 2022 12:36
@kozlovsky kozlovsky requested review from a team and drew2a and removed request for a team January 18, 2022 12:36
Copy link
Contributor

@devos50 devos50 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kozlovsky kozlovsky merged commit cd50ad8 into Tribler:main Jan 18, 2022
@kozlovsky kozlovsky deleted the fix/unstable_test branch January 18, 2022 12:46
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.

2 participants