Skip to content

Commit 23eeb74

Browse files
authored
Merge pull request ceph#10806 from tchaikov/wip-17087
test/librados: rados_connect() should succeed Reviewed-by: Josh Durgin <[email protected]>
2 parents 07a06d1 + c8451ad commit 23eeb74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/librados/io.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ TEST_F(LibRadosIo, ReadTimeout) {
5454
ASSERT_EQ(0, rados_conf_read_file(cluster, NULL));
5555
ASSERT_EQ(0, rados_conf_parse_env(cluster, NULL));
5656
ASSERT_EQ(0, rados_conf_set(cluster, "rados_osd_op_timeout", "0.00001")); // use any small value that will result in a timeout
57-
ASSERT_NE(0, rados_connect(cluster));
57+
ASSERT_EQ(0, rados_connect(cluster));
5858
ASSERT_EQ(0, rados_ioctx_create(cluster, pool_name.c_str(), &ioctx));
5959
rados_ioctx_set_namespace(ioctx, nspace.c_str());
6060

0 commit comments

Comments
 (0)