libgit2 / libgit2/libgit2sharp
RenamingABranchIncludesTheCorrectReflogEntries occasionally fails the range check
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 3.5k
- フォーク
- 925
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Occasionally it happens to me that the Branch Renaming reflog test fails with following error message
LibGit2Sharp.Tests.BranchFixture.RenamingABranchIncludesTheCorrectReflogEntries:
Assert.InRange() Failure
Range: (08.09.2015 14:10:34 +02:00 - 08.09.2015 14:10:34 +02:00)
Actual: 08.09.2015 14:10:33 +02:00
It seems the range's From is off by a second. This behaviour appears only sporadically. As of now I only reproduced this on Ubuntu with Mono-4.0.0.0
The behaviour shows both when running the XUnit Tests from mondevelop as well as when running build.libgit2sharp.sh, but usually disappears when rerunning the test
Behaviour was noticed when working on #1185
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Ubuntu 上の Mono でタイムスタンプ範囲のチェックが断続的に失敗する、RenamingABranchIncludesTheCorrectReflogEntries テストから始めてください。xUnit テストまたは build.libgit2sharp.sh を通じて再現し、その後、テストが範囲をどのように定義して比較しているかを調べてください。実際の reflog のタイミングエラーを隠すことなく、テストが安定して成功すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, git
- 領域
- testing-qa
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100