Skip database-reliant tests during short mode unit testing (#17771)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
723902f4cb
Коммит
857c5e562f
@@ -8,6 +8,10 @@ import (
|
||||
)
|
||||
|
||||
func TestVersion(t *testing.T) {
|
||||
if testing.Short() {
|
||||
t.Skip("skipping version test in short mode")
|
||||
}
|
||||
|
||||
th := SetupWithStoreMock(t)
|
||||
defer th.TearDown()
|
||||
|
||||
|
||||
@@ -18,6 +18,9 @@ import (
|
||||
type cleanUpFn func(store *Store)
|
||||
|
||||
func TestMigrate(t *testing.T) {
|
||||
if testing.Short() {
|
||||
t.Skip("skipping migration test in short mode")
|
||||
}
|
||||
files := []string{
|
||||
"IdpCertificateFile",
|
||||
"PublicCertificateFile",
|
||||
|
||||
Ссылка в новой задаче
Block a user