Skip to content

Commit

Permalink
fix test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFaucherre committed Aug 1, 2023
1 parent 092470d commit d53a66c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cmd/cmd_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"os"
"os/exec"
"testing"
"time"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand All @@ -14,6 +15,8 @@ import (
var pathCLI string

var _ = BeforeSuite(func() {
SetDefaultEventuallyTimeout(time.Second * 30)

var err error
pathCLI, err = gexec.Build("github.com/CircleCI-Public/circleci-cli")
Ω(err).ShouldNot(HaveOccurred())
Expand Down
2 changes: 1 addition & 1 deletion telemetry/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var (
// Overwrite this function for tests
CreateActiveTelemetry = newSegmentClient

SegmentEndpoint = "http://localhost"
SegmentEndpoint = "http://localhost:33457"
segmentKey = "AbgkrgN4cbRhAVEwlzMkHbwvrXnxHh35"
)

Expand Down

0 comments on commit d53a66c

Please sign in to comment.