Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Cassandra direct test harness hardcodes 127.0.0.1:9042 with no override

オープン
#580 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

@Dodothereal がすでに取り組んでいます。

2026年10月25日 から。

  • #586 @Dodothereal による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
cassandra, rust
領域
databases, testing

調査の方向性

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 の本文から書いたものです。

説明

backend:cassandra good first 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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ExtendDB/extenddb のほかの issue

ExtendDB/extenddb の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。