launchpad.net/ubuntu-push/client/service tests fail when GOMAXPROCS>1

Bug #1483098 reported by Michael Hudson-Doyle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-push (Ubuntu)
New
Undecided
Unassigned

Bug Description

This is true with Go 1.4 too, but the default has changed with 1.5:

mwhudson@glamdring:ubuntu-push$ ~/go1.4/bin/go test -a -c launchpad.net/ubuntu-push/client/service
mwhudson@glamdring:ubuntu-push$ for i in 1 2 3 4 5 6 7 8 9 10; do GOMAXPROCS=4 ./service.test 2>/dev/null | egrep 'PASS|FAIL'; done
FAIL: <autogenerated>:80: ualPostalSuite.TestHandleMMUActionsDispatches
--- FAIL: TestService-4 (0.04s)
FAIL
FAIL: <autogenerated>:41: trivialPostalSuite.TestHandleMMUActionsDispatches
--- FAIL: TestService-4 (0.04s)
FAIL
--- FAIL: TestService-4 (0.04s)
FAIL
--- FAIL: TestService-4 (0.04s)
FAIL
FAIL: <autogenerated>:80: ualPostalSuite.TestHandleMMUActionsDispatches
--- FAIL: TestService-4 (0.04s)
FAIL
PASS
FAIL: <autogenerated>:41: trivialPostalSuite.TestHandleMMUActionsDispatches
--- FAIL: TestService-4 (0.05s)
FAIL
PASS
--- FAIL: TestService-4 (0.04s)
FAIL
FAIL: <autogenerated>:41: trivialPostalSuite.TestHandleMMUActionsDispatches
--- FAIL: TestService-4 (0.05s)
FAIL

I don't know if more thinking is more appropriate, but putting runtime.GOMAXPROCS(1) into TestService fixes this.

affects: ubuntu-push → ubuntu-push (Ubuntu)
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.