tests: fix typo in TestClsRbd.snapshots test case

Fixes: #13727
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
Jason Dillaman 2015-11-09 09:06:05 -05:00
parent d167489a13
commit 3b39226709

View File

@ -782,7 +782,7 @@ TEST_F(TestClsRbd, snapshots)
ASSERT_EQ("snap1", snap_names[1]);
ASSERT_EQ(10u, snap_sizes[1]);
ASSERT_EQ(0, snapshot_rename(&ioctx, oid, 1, "snap1-rename"));
ASSERT_EQ(0, snapshot_rename(&ioctx, oid, 0, "snap1-rename"));
ASSERT_EQ(0, snapshot_list(&ioctx, oid, snapc.snaps, &snap_names,
&snap_sizes, &parents, &protection_status));
ASSERT_EQ(2u, snap_names.size());