Этот коммит содержится в:
Julien Tant
2022-10-20 12:06:34 -07:00
коммит произвёл GitHub
родитель 093c657e56
Коммит b30e511ffe

Просмотреть файл

@@ -4,7 +4,7 @@
package platform package platform
import ( import (
"io/ioutil" "os"
"path/filepath" "path/filepath"
"sync" "sync"
"testing" "testing"
@@ -127,7 +127,7 @@ func SetupWithCluster(tb testing.TB, cluster einterfaces.ClusterInterface) *Test
} }
func setupTestHelper(dbStore store.Store, enterprise bool, includeCacheLayer bool, tb testing.TB, options ...Option) *TestHelper { func setupTestHelper(dbStore store.Store, enterprise bool, includeCacheLayer bool, tb testing.TB, options ...Option) *TestHelper {
tempWorkspace, err := ioutil.TempDir("", "apptest") tempWorkspace, err := os.MkdirTemp("", "apptest")
if err != nil { if err != nil {
panic(err) panic(err)
} }