Cassandra direct test harness hardcodes 127.0.0.1:9042 with no override
メンテナーはふだん 2 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 30/100
調査の方向性
In crates/storage-cassandra/tests/common/mod.rs, update test_config and skip_without_cassandra to read EXTENDDB_TEST_CASSANDRA_CONTACT_POINT, defaulting to 127.0.0.1:9042. Then update the header in devtools/run-cassandra-tests to document the variable beside EXTENDDB_TEST_CASSANDRA=required. Run the direct Cassandra test harness with the default and with an override to confirm both paths work.
索引モデルが issue の本文から書いたものです。
説明
Summary
The Cassandra direct test harness hardcodes its node: crates/storage-cassandra/tests/common/mod.rs::test_config sets contact_points to 127.0.0.1:9042, and skip_without_cassandra probes the same literal to decide whether to skip. There is no environment override. Two jobs or two developers on one host cannot run the suite against separate nodes, and a run whose 9042 is taken by another container (which happened three times on 2026-10-25 on a shared host) has no way to point the tests at its own node short of editing the harness.
The CI job runs one node on 9042 and is not affected. The three other backends' harnesses read their connection from an environment variable (EXTENDDB_TEST_PG_CONNECTION_STRING, EXTENDDB_TEST_MONGODB_URI).
Fix shape
Read the contact point from EXTENDDB_TEST_CASSANDRA_CONTACT_POINT with 127.0.0.1:9042 as the default in both functions, and mention the variable in devtools/run-cassandra-tests's header beside EXTENDDB_TEST_CASSANDRA=required.
- 主要言語
- Rust
- スター
- 517
- フォーク
- 60
- 平均マージ
- 2日 23時間
- マージ済み PR(30日)
- 25
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ExtendDB/extenddb のほかの issue
-
backend:mongodb bug
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 2 日以内に返信
-
backend:cassandra bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
backend:cassandra bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 2 日以内に返信
-
[storage.cassandra] accepts unknown keys silently対応中かも @LeeroyHannigan が 3 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ExtendDB/extenddb#540 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
ExtendDB/extenddb の issue をすべて見る
似ている issue
-
desktop documentation
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
vfarcic/dot-agent-deck#2008 ·
メンテナーはふだん 1 日以内に返信
-
needs triage
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
pbakaus/impeccable#1210 ·
メンテナーはふだん 1 日以内に返信
-
enhancement ux-opportunities
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area: ci priority: P4 ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
shep-pm/shep#1249 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
`PartialEq` for `AssignedBigUint` treats different values as equal対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンstatus:untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
midnightntwrk/midnight-zk#600 ·
メンテナーはふだん 2 日以内に返信