Skip to content

Commit

Permalink
try1
Browse files Browse the repository at this point in the history
  • Loading branch information
SivaanandM committed Sep 3, 2024
1 parent 5b4971a commit 8859a39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spectrocloud/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"net/http"
"os"
"os/exec"
"path/filepath"
"testing"
"time"
)
Expand Down Expand Up @@ -43,7 +44,7 @@ var stopMockApiServerScript = ""

func TestMain(m *testing.M) {
cwd, _ := os.Getwd()
_ = os.Setenv("TF_SRC", cwd)
_ = os.Setenv("TF_SRC", filepath.Dir(cwd))
basePath = os.Getenv("TF_SRC")
startMockApiServerScript = basePath + "/tests/mockApiServer/start_mock_api_server.sh"
stopMockApiServerScript = basePath + "/tests/mockApiServer/stop_mock_api_server.sh"
Expand Down

0 comments on commit 8859a39

Please sign in to comment.