Skip to content

Conversation

@memsharded
Copy link
Member

@memsharded memsharded commented Feb 21, 2022

This is necessary for the 2.0 docs and conan-io/examples2#2

self.run = self.run or other.run
self.visible |= other.visible
# The force trait is also defined from an override
self.force |= other.force or other.override
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the core fix of this PR, the rests are tests, output and removing dead code

client.run("install --reference=pkg/0.1@lasote/stable", assert_error=True)
self.assertEqual(str(client.out).count("Waiting 0 seconds to retry..."), 2)
self.assertEqual(str(client.out).count("Error 200 downloading"), 3)
self.assertEqual(str(client.out).count("Error 200 downloading"), 4)
Copy link
Member Author

Choose a reason for hiding this comment

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

This increments by 1 because the detailed information about the Graph error includes the error downloading message.

@czoido czoido merged commit 5a551cd into conan-io:develop2 Feb 22, 2022
@memsharded memsharded deleted the fix/develop2_overrides branch February 22, 2022 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants