Skip to content

Commit

Permalink
test(traceroute-e2e): use another localhost port
Browse files Browse the repository at this point in the history
  • Loading branch information
lvlcn-t committed May 20, 2024
1 parent dece406 commit f0e5e9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/traceroute/traceroute_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func TestTracer_Run_E2E(t *testing.T) {
}

server := &http.Server{
Addr: ":9090",
Addr: ":50505",
ReadHeaderTimeout: 1 * time.Second,
Handler: http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
Expand Down Expand Up @@ -72,7 +72,7 @@ func TestTracer_Run_E2E(t *testing.T) {
{
name: "IPv4 Localhost",
address: "localhost",
port: 9090,
port: 50505,
maxHops: 30,
timeout: 1 * time.Minute,
wantErr: false,
Expand All @@ -81,7 +81,7 @@ func TestTracer_Run_E2E(t *testing.T) {
{
name: "IPv6 Localhost",
address: "::1",
port: 9090,
port: 50505,
maxHops: 30,
timeout: 1 * time.Minute,
wantErr: false,
Expand Down

0 comments on commit f0e5e9b

Please sign in to comment.