Duration order consistency when multiplying number by time unit
This commit is contained in:
parent
9ef4f47ba0
commit
bd75eddc8e
6 changed files with 6 additions and 6 deletions
|
@ -705,7 +705,7 @@ func (s *SimpleSuite) TestMirrorCanceled(c *check.C) {
|
|||
|
||||
main := httptest.NewServer(http.HandlerFunc(func(rw http.ResponseWriter, req *http.Request) {
|
||||
atomic.AddInt32(&count, 1)
|
||||
time.Sleep(time.Second * 2)
|
||||
time.Sleep(2 * time.Second)
|
||||
}))
|
||||
|
||||
mirror1 := httptest.NewServer(http.HandlerFunc(func(rw http.ResponseWriter, req *http.Request) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue