build: turn off postgres unit tests (build time test)
Change-Id: Iecb018791d9533c354375f9b7865c83ba32092f5
This commit is contained in:
parent
36ae8d4bb9
commit
0cc054e931
@ -154,7 +154,7 @@ pipeline {
|
||||
'cockroach://root@localhost:26259/testcockroach?sslmode=disable'
|
||||
STORJ_TEST_COCKROACH_NODROP = 'true'
|
||||
STORJ_TEST_COCKROACH_ALT = 'cockroach://root@localhost:26260/testcockroach?sslmode=disable'
|
||||
STORJ_TEST_POSTGRES = 'postgres://postgres@localhost/teststorj?sslmode=disable'
|
||||
STORJ_TEST_POSTGRES = 'omit'
|
||||
STORJ_TEST_LOG_LEVEL = 'info'
|
||||
COVERFLAGS = "${ env.BRANCH_NAME == 'main' ? '-coverprofile=.build/coverprofile -coverpkg=storj.io/storj/private/...,storj.io/storj/satellite/...,storj.io/storj/storage/...,storj.io/storj/storagenode/...,storj.io/storj/versioncontrol/...' : ''}"
|
||||
}
|
||||
|
@ -122,7 +122,7 @@ func Run(t *testing.T, test func(ctx *testcontext.Context, t *testing.T, db mult
|
||||
t.Run(dbConfig.Name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
if dbConfig.URL == "" {
|
||||
if dbConfig.URL == "" || dbConfig.URL == "omit" {
|
||||
t.Skipf("Database %s connection string not provided. %s", dbConfig.Name, dbConfig.Message)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user