summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Durgin <josh.durgin@inktank.com>2013-02-25 15:02:50 -0800
committerJosh Durgin <josh.durgin@inktank.com>2013-02-25 15:02:56 -0800
commit5b24a68b6e7d57bac688021b822fb2f73494c3e9 (patch)
treeb391eb97faa2a5fdf49d39c1667d225b36601ff9
parentb0271e390564119e998e18189282252d54f75eb6 (diff)
downloadceph-5b24a68b6e7d57bac688021b822fb2f73494c3e9.tar.gz
systest: restrict list error acceptance
Only ignore errors after the midway point if the midway_sem_post is defined. Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
-rw-r--r--src/test/system/st_rados_list_objects.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/system/st_rados_list_objects.cc b/src/test/system/st_rados_list_objects.cc
index 9038db2ad4b..5a407e7a619 100644
--- a/src/test/system/st_rados_list_objects.cc
+++ b/src/test/system/st_rados_list_objects.cc
@@ -75,7 +75,7 @@ run()
break;
}
else if (ret != 0) {
- if (m_accept_list_errors)
+ if (m_accept_list_errors && (!m_midway_sem_post || saw > m_midway_cnt))
break;
printf("%s: rados_objects_list_next error: %d\n", get_id_str(), ret);
return ret;