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

View File

@@ -11,6 +11,9 @@ import (
)
func TestIntegrationEntityEventsService(t *testing.T) {
if testing.Short() {
t.Skip("skipping integration test")
}
var ctx context.Context
var service EntityEventsService
@@ -135,6 +138,9 @@ func TestIntegrationEntityEventsService(t *testing.T) {
}
func TestIntegrationCreateDatabaseEntityId(t *testing.T) {
if testing.Short() {
t.Skip("skipping integration test")
}
tests := []struct {
name string
entityType EntityType