Skip to content

Commit

Permalink
Parse pinning policy options (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
udi-speedb authored Jan 10, 2024
1 parent a69ad41 commit 73c2a94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion log_file_options_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@


TABLE_OPTIONS_TOPIC_TITLES = [("metadata_cache_options", "metadata_cache_"),
("block_cache_options", "block_cache_")]
("block_cache_options", "block_cache_"),
("pinning_policy_options", "pinning_policy_")]


def get_table_options_topic_info(topic_name):
Expand Down
4 changes: 4 additions & 0 deletions test/test_log_file_options_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ def test_get_table_options_topic_info():
assert get_table_options_topic_info(
"block_cache_options") == ("block_cache_options", "block_cache_")

assert get_table_options_topic_info(
"pinning_policy_options") == ("pinning_policy_options",
"pinning_policy_")

assert get_table_options_topic_info("block_cache") is None


Expand Down

0 comments on commit 73c2a94

Please sign in to comment.