diff --git a/contrib/executor/jmeterd/pkg/runner/helpers_test.go b/contrib/executor/jmeterd/pkg/runner/helpers_test.go index c91d3f7d7bf..960ac3df657 100644 --- a/contrib/executor/jmeterd/pkg/runner/helpers_test.go +++ b/contrib/executor/jmeterd/pkg/runner/helpers_test.go @@ -41,7 +41,7 @@ func TestGetTestPathAndWorkingDir(t *testing.T) { dataDir: "/tmp/data", }, wantTestPath: "/tmp/data/test-content", - wantWorkingDir: "", + wantWorkingDir: "/tmp/data", wantTestFile: "", wantErr: false, setup: func(fs *filesystem.MockFileSystem) { @@ -59,7 +59,7 @@ func TestGetTestPathAndWorkingDir(t *testing.T) { dataDir: "/tmp/data", }, wantTestPath: "/tmp/data/repo/test.jmx", - wantWorkingDir: "", + wantWorkingDir: "/tmp/data", wantTestFile: "test.jmx", wantErr: false, setup: func(fs *filesystem.MockFileSystem) {