sessionSuite.TestSessionLoop has racy test

Bug #1522880 reported by Jonas G. Drange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-push (Ubuntu)
New
Undecided
Unassigned

Bug Description

----------------------------------------------------------------------
FAIL: session_test.go:220: sessionSuite.TestSessionLoop

session_test.go:241:
    c.Check((<-track.interval).(time.Duration) <= 16*time.Millisecond, Equals, true)
... obtained bool = false
... expected bool = true

OOPS: 30 passed, 1 FAILED
--- FAIL: TestSession (0.40s)
FAIL
FAIL launchpad.net/ubuntu-push/server/session 0.410s

This fails with even the slightest of load on my processors (or if Venus and Mars are, you know, rotating).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.