mirror of
https://github.com/usememos/memos.git
synced 2025-12-16 13:48:41 +08:00
Merge d72cad23f6 into 4de8712cb0
This commit is contained in:
commit
96fa685440
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ func TestChainSkipIfStillRunning(t *testing.T) {
|
||||||
}()
|
}()
|
||||||
|
|
||||||
// After 5ms, the first job is still in progress, and the second job was
|
// After 5ms, the first job is still in progress, and the second job was
|
||||||
// aleady skipped.
|
// already skipped.
|
||||||
time.Sleep(5 * time.Millisecond)
|
time.Sleep(5 * time.Millisecond)
|
||||||
started, done := j.Started(), j.Done()
|
started, done := j.Started(), j.Done()
|
||||||
if started != 1 || done != 0 {
|
if started != 1 || done != 0 {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue