summaryrefslogtreecommitdiffstats
path: root/src/test/libradosstriper/striping.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/libradosstriper/striping.cc')
-rw-r--r--src/test/libradosstriper/striping.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/libradosstriper/striping.cc b/src/test/libradosstriper/striping.cc
index c65f0498de5..3533a61fc70 100644
--- a/src/test/libradosstriper/striping.cc
+++ b/src/test/libradosstriper/striping.cc
@@ -135,7 +135,8 @@ protected:
// check we do not have an extra object behind
uint64_t rados_size;
time_t mtime;
- ASSERT_EQ(-ENOENT, ioctx.stat(getObjName(soid, nb_objects), &rados_size, &mtime));
+ std::string oid = getObjName(soid, nb_objects);
+ ASSERT_EQ(-ENOENT, ioctx.stat(oid, &rados_size, &mtime));
}
};