Repository navigation
Conversation
This directive is used to test column partitioning.
It is needed to check that files that store partition maps and files
that store partitions exist after creation and do not exist after
deletion.
Usage:
#@file-exist #{db_path}.0000101.partitions
|
directiveはテストに必要な道具の準備とかをするものだと思うので、 ( あとはdirectiveを追加しない方法で、ファイルを作成したであろうログのテストや、 |
There was a problem hiding this comment.
🟡 Changes recommended
Missing-argument handling crashes, and the implementation lists unrelated directory contents.
1 open finding
What changed in this PR
Adds a list-files directive for validating database partition files.
Changes:
- Expands directive path variables.
- Lists files when dispatching
#@list-files.
| File | Description |
|---|---|
lib/grntest/executors/base-executor.rb |
Implements and dispatches the new directive. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| if raw_path.nil? | ||
| log_input(line) | ||
| log_error("#|e| [file-exist] path is missing") | ||
| end | ||
| path = Pathname(expand_variables(raw_path)) |
こういうアプローチは無理そうなの? |

This directive is used to test column partitioning.
It is needed to check that files that store partition maps and files that store partitions exist after creation and do not exist after deletion.
Usage:
Results: