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) {
|
func TestVersion(t *testing.T) {
|
||||||
|
if testing.Short() {
|
||||||
|
t.Skip("skipping version test in short mode")
|
||||||
|
}
|
||||||
|
|
||||||
th := SetupWithStoreMock(t)
|
th := SetupWithStoreMock(t)
|
||||||
defer th.TearDown()
|
defer th.TearDown()
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,9 @@ import (
|
|||||||
type cleanUpFn func(store *Store)
|
type cleanUpFn func(store *Store)
|
||||||
|
|
||||||
func TestMigrate(t *testing.T) {
|
func TestMigrate(t *testing.T) {
|
||||||
|
if testing.Short() {
|
||||||
|
t.Skip("skipping migration test in short mode")
|
||||||
|
}
|
||||||
files := []string{
|
files := []string{
|
||||||
"IdpCertificateFile",
|
"IdpCertificateFile",
|
||||||
"PublicCertificateFile",
|
"PublicCertificateFile",
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user