You have been subscribed to a public bug:
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)
Importance: Undecided
Status: New
--
launchpad.net/ubuntu-push/client/service tests fail when GOMAXPROCS>1
https://bugs.launchpad.net/bugs/1483098
You received this bug notification because you are a member of Ubuntu Bugs,
which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs