"""
Get the amount of time that the client has to return caps
- In the event that a client does not return its caps, the MDS may blacklist
+ In the event that a client does not return its caps, the MDS may blocklist
it after this timeout. Applications should check this value and ensure
that they set the delegation timeout to a value lower than this.
"""
ASSERT_EQ(0, unregister_ctx.wait());
}
-TEST_F(TestMockWatcher, ReregisterWatchBlacklist) {
+TEST_F(TestMockWatcher, ReregisterWatchBlocklist) {
librbd::ImageCtx *ictx;
ASSERT_EQ(0, open_image(m_image_name, &ictx));
ASSERT_EQ(234U, m_watch_handle);
}
-TEST_F(TestMockWatcherRewatchRequest, WatchBlacklist) {
+TEST_F(TestMockWatcherRewatchRequest, WatchBlocklist) {
librbd::ImageCtx *ictx;
ASSERT_EQ(0, open_image(m_image_name, &ictx));
ASSERT_EQ(0, when_shut_down(mock_trash_watcher));
}
-TEST_F(TestMockImageDeleterTrashWatcher, CreateBlacklist) {
+TEST_F(TestMockImageDeleterTrashWatcher, CreateBlocklist) {
MockThreads mock_threads(m_threads);
expect_work_queue(mock_threads);
ASSERT_EQ(0, when_shut_down(mock_trash_watcher));
}
-TEST_F(TestMockImageDeleterTrashWatcher, RegisterWatcherBlacklist) {
+TEST_F(TestMockImageDeleterTrashWatcher, RegisterWatcherBlocklist) {
MockThreads mock_threads(m_threads);
expect_work_queue(mock_threads);
ASSERT_EQ(0, when_shut_down(mock_trash_watcher));
}
-TEST_F(TestMockImageDeleterTrashWatcher, TrashListBlacklist) {
+TEST_F(TestMockImageDeleterTrashWatcher, TrashListBlocklist) {
MockThreads mock_threads(m_threads);
expect_work_queue(mock_threads);
ASSERT_EQ(0, when_shut_down(mock_trash_watcher));
}
-TEST_F(TestMockImageDeleterTrashWatcher, RewatchBlacklist) {
+TEST_F(TestMockImageDeleterTrashWatcher, RewatchBlocklist) {
MockThreads mock_threads(m_threads);
expect_work_queue(mock_threads);
ASSERT_EQ(0, when_shut_down(mock_pool_watcher));
}
-TEST_F(TestMockPoolWatcher, RegisterWatcherBlacklist) {
+TEST_F(TestMockPoolWatcher, RegisterWatcherBlocklist) {
MockThreads mock_threads(m_threads);
expect_work_queue(mock_threads);