Provisioning: Add back most integration tests; skip flaky ones (#111197)
This commit is contained in:
@@ -17,6 +17,9 @@ import (
|
||||
)
|
||||
|
||||
func TestIntegrationProvisioning_ExportUnifiedToRepository(t *testing.T) {
|
||||
// TODO: fix flaky test
|
||||
t.Skip("skipping flaky test")
|
||||
|
||||
testutil.SkipIntegrationTestInShortMode(t)
|
||||
|
||||
helper := runGrafana(t)
|
||||
|
||||
@@ -109,6 +109,9 @@ func TestIntegrationProvisioning_DeleteResources(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestIntegrationProvisioning_MoveResources(t *testing.T) {
|
||||
// TODO: fix flaky test
|
||||
t.Skip("skipping flaky test")
|
||||
|
||||
testutil.SkipIntegrationTestInShortMode(t)
|
||||
|
||||
helper := runGrafana(t)
|
||||
@@ -399,6 +402,9 @@ func TestIntegrationProvisioning_MoveResources(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestIntegrationProvisioning_FilesOwnershipProtection(t *testing.T) {
|
||||
// TODO: fix flaky test
|
||||
t.Skip("skipping flaky test")
|
||||
|
||||
testutil.SkipIntegrationTestInShortMode(t)
|
||||
|
||||
helper := runGrafana(t)
|
||||
|
||||
@@ -36,11 +36,11 @@ import (
|
||||
"github.com/grafana/grafana/pkg/setting"
|
||||
"github.com/grafana/grafana/pkg/tests/apis"
|
||||
"github.com/grafana/grafana/pkg/tests/testinfra"
|
||||
"github.com/grafana/grafana/pkg/tests/testsuite"
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
// TODO: Tests are flaky, so skip them for now
|
||||
//testsuite.Run(m)
|
||||
testsuite.Run(m)
|
||||
}
|
||||
|
||||
type provisioningTestHelper struct {
|
||||
|
||||
@@ -19,6 +19,9 @@ import (
|
||||
)
|
||||
|
||||
func TestIntegrationProvisioning_PullJobOwnershipProtection(t *testing.T) {
|
||||
// TODO: fix flaky test
|
||||
t.Skip("skipping flaky test")
|
||||
|
||||
testutil.SkipIntegrationTestInShortMode(t)
|
||||
|
||||
helper := runGrafana(t)
|
||||
|
||||
@@ -382,6 +382,9 @@ func TestIntegrationProvisioning_CreatingGitHubRepository(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestIntegrationProvisioning_RepositoryLimits(t *testing.T) {
|
||||
// TODO: fix flaky test
|
||||
t.Skip("skipping flaky test")
|
||||
|
||||
testutil.SkipIntegrationTestInShortMode(t)
|
||||
|
||||
helper := runGrafana(t)
|
||||
|
||||
Reference in New Issue
Block a user