central_server_test: bob's control subscriber occasionally misses bob's message (timing)

オープン 初心者向け
#850 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
75/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
c, debian

調査の方向性

tests/containers/central_server_test.pyから始めて、bobのメッセージを公開する制御チェックを追ってください。issueの提案どおり、保持されたプローブまたはSUBACKを使い、bobのsubscriberの準備完了が確認されるまでチェックを待機させてください。テストを実行し、bobのsubscriberがメッセージを受信し、分離チェックも引き続き通ることを確認してください。

索引モデルが issue の本文から書いたものです。

説明

On the 9.5.1 Debian packages, one run of tests/containers/central_server_test.py failed the control check "central: bob's own subscriber gets bob's message (control)": the subscriber received only alice's ecce_machreg_changed messages. The rerun on the same packages passed 128/128, as did a local build of the same source earlier the same day. All isolation checks passed in both runs, so this is the test's timing (the subscriber probably not yet subscribed when bob's message is sent), not the broker's access control. The control should wait for the subscription (e.g. a retained probe or a SUBACK-confirmed subscriber) before publishing.

主要言語
C
スター
10
フォーク
8
平均マージ
21分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

FriendsofECCE/ECCE のほかの issue

FriendsofECCE/ECCE の issue をすべて見る

似ている issue

C の issue をもっと見る

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

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