Multiselect integration test
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- cpp
- 領域
- networking, testing
調査の方向性
issue #111 を multiselect プロトコルのフローおよび既存の integration-test のエントリポイントと併せて確認します。記録された予期しないメッセージとネゴシエーション順序の失敗を再現し、callbacks やタスクのスケジューリングに依存せずにメッセージの順序を検証するテストを定義します。
索引モデルが issue の本文から書いたものです。
説明
Testing of #111 uncovers that protocol negotiation happens more often than in the master branch. Moreover, that negotiation often fails due to unexpected messages which may indicate the error-prone messages flow and order.
The issue is to create some integration test for the multiselect protocol to reveal such errors and verify messages order correctness without any dependency on underlying implementation (either callbacks or tasks scheduling - #111 addresses it).
Log example of multiselect issues when #111 gets employed:
[2021-03-15 15:29:45.873680000][th:584649][info] multiselect got a unexpected request-response combination - sending 'ls'
[2021-03-15 15:29:45.873701000][th:584649][warning] listener_mgr can not negotiate protocols, other side has violated a protocol and sent an unexpected message
[2021-03-15 15:29:45.984183000][th:584649][info] multiselect got a unexpected request-response combination - sending 'ls'
[2021-03-15 15:29:45.984203000][th:584649][warning] listener_mgr can not negotiate protocols, other side has violated a protocol and sent an unexpected message
- 主要言語
- C++
- スター
- 493
- フォーク
- 131
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
libp2p/cpp-libp2p のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
libp2p/cpp-libp2p#351 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
libp2p/cpp-libp2p#347 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
libp2p/cpp-libp2p#341 ·
-
Lack of signedPeerRecord Validation in C++ IdentifyMessageProcessor Leads to Address Injection対応中かも @alienx5499 が 317 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
libp2p/cpp-libp2p#332 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
libp2p/cpp-libp2p#324 · コメント 1 件 · リアクション 1 件 ·
libp2p/cpp-libp2p の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
c++ good first issue M2: audio plumbing no hardware needed tests
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
GageLawton/noise-cancellation#23 ·
メンテナーはふだん 1 日以内に返信
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nullmoth/nvidia-macos-driver#126 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
objectionary/eo-graphs#85 ·