Start test servers on a port no other program can take
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by reading FreeAddr and WaitForListening, then find the tests that start a server and poll its address. Check how the listening line is captured and how a bind failure is reported; the proposal is complete when tests can start servers on port 0, use the address from that line, and fail the wait if binding fails.
索引モデルが issue の本文から書いたものです。
説明
A test should never fail because another program took its port.
Current state: FreeAddr opens a listener on port 0, closes it and returns the address. Another program can take it before the server binds. The server then fails to bind, and a test that polls the address talks to that program instead. In a check, the next 40 port 0 binds took 29 of 5000 freed ports.
Proposal: Make WaitForListening return the address the listening line names. Tests then start their server on port 0 and read its log through a pipe. A server that cannot bind then fails the wait, not a later request. FreeAddr stays for an address nothing answers at.
Trigger: A downstream application's CI failed once this way, then passed on a rerun.
- 主要言語
- Go
- スター
- 69
- フォーク
- 3
- 平均マージ
- 9時間 11分
- マージ済み PR(30日)
- 38
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
gopherium/framework のほかの issue
-
bug help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
enhancement help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
enhancement help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
enhancement help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
enhancement help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
gopherium/framework の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
eugenioenko/ttt#1206 ·
メンテナーはふだん 1 日以内に返信
-
t:urlDecodeUni does not map U+3002 and U+FF61 to a dot, unlike ModSecurity対応中かも @fzipi が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
peasant-labs/peasant#738 ·
メンテナーはふだん 1 日以内に返信
-
Duplicate review still bridges two books through a bundle whose first part has a colon subtitle対応中かも @vavallee が今日担当しました。 オープンarea:library-scan bug priority:low
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信