]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/osd/TestOpStat.h
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / test / osd / TestOpStat.h
index 5bf4fc9595c359c44fc0a3c4a916cf11a8927df3..314bb66c781b69eab445697a40fbfdd1db296a61 100644 (file)
@@ -27,13 +27,13 @@ public:
     multiset<uint64_t> latencies;
     void begin(TestOp *in)
     {
-      assert(!inflight.count(in));
+      ceph_assert(!inflight.count(in));
       inflight[in] = gettime();
     }
 
     void end(TestOp *in)
     {
-      assert(inflight.count(in));
+      ceph_assert(inflight.count(in));
       uint64_t curtime = gettime();
       latencies.insert(curtime - inflight[in]);
       inflight.erase(in);