Skip to content

Commit

Permalink
Merge pull request #10806 from tchaikov/wip-17087
Browse files Browse the repository at this point in the history
test/librados: rados_connect() should succeed

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
  • Loading branch information
jdurgin committed Aug 22, 2016
2 parents 07a06d1 + c8451ad commit 23eeb74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/librados/io.cc
Expand Up @@ -54,7 +54,7 @@ TEST_F(LibRadosIo, ReadTimeout) {
ASSERT_EQ(0, rados_conf_read_file(cluster, NULL));
ASSERT_EQ(0, rados_conf_parse_env(cluster, NULL));
ASSERT_EQ(0, rados_conf_set(cluster, "rados_osd_op_timeout", "0.00001")); // use any small value that will result in a timeout
ASSERT_NE(0, rados_connect(cluster));
ASSERT_EQ(0, rados_connect(cluster));
ASSERT_EQ(0, rados_ioctx_create(cluster, pool_name.c_str(), &ioctx));
rados_ioctx_set_namespace(ioctx, nspace.c_str());

Expand Down

0 comments on commit 23eeb74

Please sign in to comment.