1
0
镜像自地址 https://github.com/tuna/tunasync.git 已同步 2025-12-06 06:26:46 +00:00

Merge branch 'master' of github.com:tuna/tunasync

这个提交包含在:
z4yx
2019-11-30 00:08:59 +08:00
当前提交 36010dc33e

查看文件

@@ -133,7 +133,7 @@ func TestWorker(t *testing.T) {
} else if sch, ok := data.(MirrorSchedules); ok {
So(len(sch.Schedules), ShouldEqual, 0)
}
case <-time.After(1 * time.Second):
case <-time.After(2 * time.Second):
So(registered, ShouldBeTrue)
return
}
@@ -178,7 +178,7 @@ func TestWorker(t *testing.T) {
So(status.Status, ShouldNotEqual, Failed)
lastStatus = status.Status
}
case <-time.After(1 * time.Second):
case <-time.After(2 * time.Second):
So(url, ShouldNotEqual, "")
So(jobRunning, ShouldBeFalse)
So(lastStatus, ShouldEqual, Success)
@@ -239,7 +239,7 @@ func TestWorker(t *testing.T) {
}
lastStatus[status.Name] = status.Status
}
case <-time.After(1 * time.Second):
case <-time.After(2 * time.Second):
So(len(lastStatus), ShouldEqual, 3)
So(len(nextSch), ShouldEqual, 3)
return