Chore: Exclude integration tests from running on test-backend step (#50359)

* Chore: Exclude integration tests from running on test-backend step

* Remove -v from go test command

* Add check to skip integration tests before each integration test

* Try to restart pipeline

* Retrying to make pipeline run
This commit is contained in:
Kat Yang
2022-06-10 11:46:21 -04:00
committed by GitHub
parent 336c9fd513
commit bd35e6917a
54 changed files with 240 additions and 15 deletions
+6
View File
@@ -18,6 +18,9 @@ import (
)
func TestIntegrationAnnotations(t *testing.T) {
if testing.Short() {
t.Skip("skipping integration test")
}
sql := sqlstore.InitTestDB(t)
repo := sqlstore.NewSQLAnnotationRepo(sql)
@@ -380,6 +383,9 @@ func TestIntegrationAnnotations(t *testing.T) {
}
func TestIntegrationAnnotationListingWithRBAC(t *testing.T) {
if testing.Short() {
t.Skip("skipping integration test")
}
sql := sqlstore.InitTestDB(t, sqlstore.InitTestDBOpt{})
repo := sqlstore.NewSQLAnnotationRepo(sql)
dashboardStore := dashboardstore.ProvideDashboardStore(sql)