Skip to content

Commit

Permalink
Also specify path for internal tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kegsay committed Sep 26, 2024
1 parent 81cd0c0 commit f923dc2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion internal/tests/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"fmt"
"log"
"os"
"path/filepath"
"sync"
"testing"
"time"
Expand Down Expand Up @@ -37,7 +38,11 @@ func Deploy(t *testing.T) *deploy.SlidingSyncDeployment {
if ssDeployment != nil {
return ssDeployment
}
ssDeployment = deploy.RunNewDeployment(t, "", "")
wd, err := os.Getwd()
if err != nil {
t.Fatalf("failed to get wd: %s", err)
}
ssDeployment = deploy.RunNewDeployment(t, filepath.Join(wd, "../../tests/mitmproxy_addons"), "")
return ssDeployment
}

Expand Down

0 comments on commit f923dc2

Please sign in to comment.