Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
all: disable any -race test that fails or times out #3806
Merged
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
Jump to file or symbol
Failed to load files and symbols.
| @@ -0,0 +1,21 @@ | ||
| +// Copyright 2015 Canonical Ltd. | ||
| +// Licensed under the AGPLv3, see LICENCE file for details. | ||
| + | ||
| +package agent_test | ||
| + | ||
| +import ( | ||
| + stdtesting "testing" | ||
| + | ||
| + "github.com/juju/testing" | ||
| + | ||
| + coretesting "github.com/juju/juju/testing" | ||
| +) | ||
| + | ||
| +func TestPackage(t *stdtesting.T) { | ||
| + if testing.RaceEnabled { | ||
| + t.Skip("skipping package under -race, see LP 1519133, 1519097") | ||
| + } | ||
| + // TODO(waigani) 2014-03-19 bug 1294458 | ||
| + // Refactor to use base suites | ||
| + coretesting.MgoTestPackage(t) | ||
| +} |
| @@ -0,0 +1,19 @@ | ||
| +// Copyright 2015 Canonical Ltd. | ||
| +// Licensed under the AGPLv3, see LICENCE file for details. | ||
| + | ||
| +package state | ||
| + | ||
| +import ( | ||
| + stdtesting "testing" | ||
| + | ||
| + "github.com/juju/testing" | ||
| + | ||
| + coretesting "github.com/juju/juju/testing" | ||
| +) | ||
| + | ||
| +func TestPackage(t *stdtesting.T) { | ||
| + if testing.RaceEnabled { | ||
| + t.Skip("skipping package under -race, see LP 1519095") | ||
| + } | ||
| + coretesting.MgoTestPackage(t) | ||
| +} |