Skip to content

Commit

Permalink
Merge pull request #8309 from tchaikov/wip-15240
Browse files Browse the repository at this point in the history
test/system/rados_list_parallel: print oid if rados_write fails

Reviewed-by: Sage Weil <sage@redhat.com>
  • Loading branch information
tchaikov committed Mar 25, 2016
2 parents 9f47a5b + 71c41be commit 816c902
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/system/st_rados_create_pool.cc
Expand Up @@ -93,7 +93,8 @@ run()
std::string buf(get_random_buf(256));
int ret = rados_write(io_ctx, oid, buf.c_str(), buf.size(), 0);
if (ret != 0) {
printf("%s: rados_write error %d\n", get_id_str(), ret);
printf("%s: rados_write(%s) failed with error: %d\n",
get_id_str(), oid, ret);
ret_val = ret;
goto out;
}
Expand Down

0 comments on commit 816c902

Please sign in to comment.