libgit2 / libgit2/libgit2sharp
RenamingABranchIncludesTheCorrectReflogEntries occasionally fails the range check
Nessuno ha ancora preso questa issue.
- Lingua principale
- C#
- Stelle
- 3.5k
- Fork
- 925
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con il test RenamingABranchIncludesTheCorrectReflogEntries, che fallisce occasionalmente nel controllo dell’intervallo dei timestamp su Ubuntu con Mono. Riproducilo tramite i test xUnit o build.libgit2sharp.sh, quindi esamina come il test definisce e confronta l’intervallo. Il lavoro è completato quando il test passa in modo affidabile senza nascondere errori reali di temporizzazione del reflog.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp, git
- Ambito
- testing-qa
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100