Skip to content

[Test🧪] Cover write-permission helpers in TopicQueueTable #7620

Description

@mxsm

Prerequisites

  • I have searched existing test issues

Test Scope

Module: topic queue table
File: rocketmq-namesrv/src/route/tables/topic_table.rs
Coverage: cover helper methods used by write-permission admin requests and route manager snapshots.

Test Cases

  • update_queue_data_perm updates only the targeted topic and broker.
  • update_queue_data_perm returns false when the topic or broker is missing.
  • get_topic_queues_map returns public broker names and cloned queue data for a topic.
  • iter_all_with_data reports all topics and queue entries after multiple inserts.
  • Validate with cargo test -p rocketmq-namesrv topic_table.

Willing to contribute?

  • I can submit a PR for this

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions