4paradigm / 4paradigm/OpenMLDB
ut: cpp ut support option zk_host:zk_port
オープン
enhancement
test
- 主要言語
- C++
- スター
- 1.7k
- フォーク
- 331
- 平均マージ
- 12日 12時間
- マージ済み PR(30日)
- 1
説明
Cpp ut defines zk port 6181 in code. If we want to modify it, we should rebuild the binary files. It's not good for testing.
We should support:
```
./build/bin/xxx_test --port 2181
```
コントリビューションガイド
調査の方向性
The issue mentions C++ unit tests that hardcode a ZooKeeper port. Look for test binaries in ./build/bin/ that end with _test. The change involves adding command-line argument parsing (like --port) to these test executables, likely in their main() function. Check existing test code for similar argument handling. After modifying, rebuild the test binary and verify it accepts the new port option.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- testing
- issue の種類
- 機能追加
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 40/100