mirror of
https://github.com/ceph/ceph
synced 2025-01-29 22:43:40 +00:00
Merge pull request #1015 from yuyuyu101/wip-fix-tests
Fix some test codes problems Reviewed-by: Sage Weil <sage@inktank.com>
This commit is contained in:
commit
9a7e85dba1
@ -83,7 +83,7 @@ ceph osd tier remove base_pool empty_cache
|
||||
ceph osd pool delete base_pool base_pool --yes-i-really-really-mean-it
|
||||
ceph osd pool delete empty_cache empty_cache --yes-i-really-really-mean-it
|
||||
ceph osd pool delete wrong_cache wrong_cache --yes-i-really-really-mean-it
|
||||
ceph osd pool delete partial_cache partial_cache --yes-i-really-really-mean-it
|
||||
ceph osd pool delete partial_wrong partial_wrong --yes-i-really-really-mean-it
|
||||
|
||||
## set of base, cache
|
||||
ceph osd pool create base 8
|
||||
@ -131,6 +131,6 @@ ceph osd tier cache-mode cache none
|
||||
ceph osd tier remove base cache
|
||||
|
||||
ceph osd pool delete cache cache --yes-i-really-really-mean-it
|
||||
ceph osd pool delete cache base --yes-i-really-really-mean-it
|
||||
ceph osd pool delete base base --yes-i-really-really-mean-it
|
||||
|
||||
echo OK
|
||||
echo OK
|
||||
|
@ -751,7 +751,7 @@ TEST_F(StoreTest, XattrTest) {
|
||||
ASSERT_EQ(r, -ENODATA);
|
||||
|
||||
r = store->getattr(cid, hoid, "attr3", bp);
|
||||
ASSERT_EQ(r, 0);
|
||||
ASSERT_GE(r, 0);
|
||||
bufferlist bl2;
|
||||
bl2.push_back(bp);
|
||||
ASSERT_TRUE(bl2 == attrs["attr3"]);
|
||||
|
Loading…
Reference in New Issue
Block a user