Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.
/ pulp Public archive

1124570 - Adds two-queue implementation for reserved resources #1158

Merged
merged 5 commits into from
Sep 19, 2014

Conversation

bmbouter
Copy link
Member

https://bugzilla.redhat.com/show_bug.cgi?id=1124570

This BZ implements this design and TODO list. Refer to that doc for more info on what is contained in this PR.

@bowlofeggs bowlofeggs self-assigned this Sep 16, 2014
@@ -80,7 +76,6 @@ def setUpClass(cls):
def tearDownClass(cls):
name = pulp_conf.get('database', 'name')
connection._CONNECTION.drop_database(name)
cls.reserve_resources_patch.stop()
Copy link
Contributor

Choose a reason for hiding this comment

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

It's a race to see who merges first, because I bet one of my PRs will cause a conflict with this ☺

Copy link
Member Author

Choose a reason for hiding this comment

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

The race is on!

Copy link
Contributor

Choose a reason for hiding this comment

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

Turns out it does conflict!

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe I should slow down my review time to increase the chance that someone else reviews my PR first. This is a conflict of interest. Get it? Get it‽

@@ -2,10 +2,8 @@
This module contains management functions for the models found in the
Copy link
Contributor

Choose a reason for hiding this comment

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

I need to finish reviewing this tomorrow. This comment is here to mark how far I got during review ☺


def test__delete_worker_Criteria_to_find_TaskStatus_is_correct(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

s/C/c/

Copy link
Contributor

Choose a reason for hiding this comment

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

s/TaskStatus/task_status/

@bowlofeggs
Copy link
Contributor

LGTM if you can make sure that the tests do pass on all platforms.

@bowlofeggs
Copy link
Contributor

Oh, and make sure that we do set the tags on both insert and update ☺

@bowlofeggs
Copy link
Contributor

When you merge this, please also mark this bug as MODIFIED: https://bugzilla.redhat.com/show_bug.cgi?id=1141336

@bmbouter
Copy link
Member Author

I fixed the unit test failure on CentOS 6 which was due to a different behavior between mock 0.8 and 1.0. CentOS provides mock 0.8. I've adjusted the test to work in both environments, and reran it on EL6, so it's passing

@bmbouter
Copy link
Member Author

Lots of fixes introduced with 33ba0e0

@bmbouter
Copy link
Member Author

Merging! Thanks to @rbarlow for all the great review and help with this. RabbitMQ should work now. :-)

bmbouter added a commit that referenced this pull request Sep 19, 2014
1124570 - Adds two-queue implementation for reserved resources
@bmbouter bmbouter merged commit 99d8457 into 2.5-dev Sep 19, 2014
@bmbouter bmbouter deleted the bmbouter-1124570 branch September 19, 2014 14:21
goosemania added a commit to goosemania/pulp that referenced this pull request Apr 18, 2016
goosemania added a commit to goosemania/pulp that referenced this pull request Apr 19, 2016
goosemania added a commit to goosemania/pulp that referenced this pull request Apr 20, 2016
ehelms pushed a commit to ehelms/pulp that referenced this pull request Aug 16, 2017
…ckages

Add --force-full flag to publish command

re pulp#1158
https://pulp.plan.io/issues/1158

(cherry picked from commit 2f4389a)
ehelms pushed a commit to ehelms/pulp that referenced this pull request Aug 16, 2017
BZ #1223023 - Allow Pulp to force sync and verify/repair corrupted packages

Add --force-full flag to publish command

re pulp#1158
https://pulp.plan.io/issues/1158

(cherry picked from commit 2f4389a)

See merge request !28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants