Project

General

Profile

Backport #14974

hammer: common/obj_bencher.cc: make verify error fatal

Added by Loic Dachary over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Release:
hammer
Crash signature:


Related issues

Copied from Ceph - Feature #14971: common/obj_bencher.cc: make verify error fatal Resolved 03/03/2016

Associated revisions

Revision 04fe9517 (diff)
Added by Piotr Dałek over 4 years ago

test/test_rados_tool.sh: force rados bench rand and seq

This forces rados bench rand and seq to execute, so if there's
a regression in any of above, it won't go unnoticed.

Fixes: #14974
Signed-off-by: Piotr Dałek <>

Revision d8756208 (diff)
Added by Piotr Dałek over 4 years ago

common/obj_bencher.cc: make verify error fatal

When run without "--no-verify", all verification errors are noted,
but they are not forwarded/reported anywhere else but to cerr, which
will cause automated testing to ignore them. Make seq_read_bench and
rand_read_bench return -EIO on any verification error which will,
in turn, return it back to caller.

Fixes: #14974
Signed-off-by: Piotr Dałek <>
(cherry picked from commit 658bba85c488a38e25bc598637258c263f711631)

History

#1 Updated by Loic Dachary over 4 years ago

  • Copied from Feature #14971: common/obj_bencher.cc: make verify error fatal added

#2 Updated by Loic Dachary over 4 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • Assignee set to Piotr Dalek

#3 Updated by Loic Dachary over 4 years ago

  • Status changed from In Progress to Resolved
  • Target version set to v0.94.7

Also available in: Atom PDF