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

test/librbd: ensure OutOfOrder test has enough concurrent management ops #21436

Merged
merged 1 commit into from Apr 18, 2018

Conversation

trociny
Copy link
Contributor

@trociny trociny commented Apr 16, 2018

The test relies on large enough number of concurrent_management_ops.

Signed-off-by: Mykola Golub mgolub@suse.com

@@ -221,6 +221,9 @@ TEST_F(TestMockDeepCopyImageCopyRequest, SimpleImage) {
}

TEST_F(TestMockDeepCopyImageCopyRequest, OutOfOrder) {
CephContext* cct = reinterpret_cast<CephContext*>(_rados.cct());
REQUIRE(cct->_conf->get_val<int64_t>("rbd_concurrent_management_ops") >= 10);

Choose a reason for hiding this comment

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

Since I don't think we have any teuthology tests that would change this config parameter, this test would effectively never be run. Perhaps this test should store the current setting, update it, and then restore it prior to finishing.

@trociny trociny changed the title test/librbd: requirement for TestMockDeepCopyImageCopyRequest.OutOfOrder test/librbd: ensure OutOfOrder test has enough concurrent management ops Apr 17, 2018
@trociny
Copy link
Contributor Author

trociny commented Apr 17, 2018

@dillaman updated

Copy link

@dillaman dillaman left a comment

Choose a reason for hiding this comment

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

lgtm

@dillaman
Copy link

retest this please

@dillaman dillaman merged commit 5c4f8c7 into ceph:master Apr 18, 2018
@trociny trociny deleted the wip-test-out_of_order branch April 19, 2018 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants