mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 22:12:36 +08:00
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:
@ -23,6 +23,9 @@ import (
|
||||
|
||||
// Test generateConnectionString.
|
||||
func TestIntegrationGenerateConnectionString(t *testing.T) {
|
||||
if testing.Short() {
|
||||
t.Skip("skipping integration test")
|
||||
}
|
||||
cfg := setting.NewCfg()
|
||||
cfg.DataPath = t.TempDir()
|
||||
|
||||
@ -170,6 +173,9 @@ func TestIntegrationGenerateConnectionString(t *testing.T) {
|
||||
// use to verify that the generated data are visualized as expected, see
|
||||
// devenv/README.md for setup instructions.
|
||||
func TestIntegrationPostgres(t *testing.T) {
|
||||
if testing.Short() {
|
||||
t.Skip("skipping integration test")
|
||||
}
|
||||
// change to true to run the PostgreSQL tests
|
||||
const runPostgresTests = false
|
||||
|
||||
|
Reference in New Issue
Block a user