From 3b678c54874bc6cba2037e0b4197684e7e0649e3 Mon Sep 17 00:00:00 2001 From: coffeegoddd Date: Fri, 9 Feb 2024 13:46:06 -0800 Subject: [PATCH] /go/performance/utils/sysbench_runner/profile.go: fix mkdir temp --- go/performance/utils/sysbench_runner/profile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/performance/utils/sysbench_runner/profile.go b/go/performance/utils/sysbench_runner/profile.go index d4732419ce..feb27873e9 100644 --- a/go/performance/utils/sysbench_runner/profile.go +++ b/go/performance/utils/sysbench_runner/profile.go @@ -86,7 +86,7 @@ func ProfileDolt(ctx context.Context, config *Config, serverConfig *ServerConfig } func profileTest(ctx context.Context, test *Test, config *Config, serverConfig *ServerConfig, serverParams []string, testRepo, profileDir string) (string, error) { - profilePath, err := os.MkdirTemp("", test.Name) + profilePath, err := os.MkdirTemp("", filepath.Base(test.Name)) if err != nil { return "", err }