diff options
author | Samuel Just <samuel.just@dreamhost.com> | 2011-09-01 17:16:01 -0700 |
---|---|---|
committer | Samuel Just <samuel.just@dreamhost.com> | 2011-09-02 15:06:36 -0700 |
commit | 613f11199f22734299f3ecc5f76204a60b96b4f3 (patch) | |
tree | be55f2b5ff4337b57fc9c9f704238ed89bb801e1 | |
parent | a04b15cfdce690db7fb323e5b0256ace0540c5c9 (diff) | |
download | ceph-613f11199f22734299f3ecc5f76204a60b96b4f3.tar.gz |
store_test: fix hobject_t construction
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
-rw-r--r-- | src/test/store_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/store_test.cc b/src/test/store_test.cc index a3c9f529e56..10fb6564dc2 100644 --- a/src/test/store_test.cc +++ b/src/test/store_test.cc @@ -253,7 +253,7 @@ public: // hash //boost::binomial_distribution<uint32_t> bin(0xFFFFFF, 0.5); ++seq; - return hobject_t(name, CEPH_NOSNAP, rand()); + return hobject_t(name, string(), CEPH_NOSNAP, rand()); } }; @@ -469,7 +469,7 @@ TEST_F(StoreTest, HashCollisionTest) { if (!(i % 5)) { cerr << "Object " << i << std::endl; } - hobject_t hoid(string(buf) + base, CEPH_NOSNAP, 0); + hobject_t hoid(string(buf) + base, string(), CEPH_NOSNAP, 0); { ObjectStore::Transaction t; t.touch(cid, hoid); |