From: Greg Farnum Date: Tue, 6 Jun 2017 22:29:15 +0000 (-0700) Subject: TestOSDMap: actually loop through the pools as intended X-Git-Tag: ses5-milestone8~1^2~21^2~14 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=760a024a75cfc5efca2a9e9ee19f6c675d2c42c5;p=ceph.git TestOSDMap: actually loop through the pools as intended Looks like this was meant to be a loop but (unlike the other tests) just referred to a constant pool 0. Whoops! Signed-off-by: Greg Farnum --- diff --git a/src/test/osd/TestOSDMap.cc b/src/test/osd/TestOSDMap.cc index 0d8eec7b561d..8eb12720e6da 100644 --- a/src/test/osd/TestOSDMap.cc +++ b/src/test/osd/TestOSDMap.cc @@ -365,7 +365,7 @@ TEST_F(OSDMapTest, PrimaryAffinity) { vector any(n, 0); vector first(n, 0); vector primary(n, 0); - test_mappings(0, 10000, &any, &first, &primary); + test_mappings(pool, 10000, &any, &first, &primary); for (int i=0; i