Skip to content

Commit

Permalink
Change registry port in test suite
Browse files Browse the repository at this point in the history
To support the parallel execution of regitry tests we need to change the
port of the registry.
  • Loading branch information
afritzler committed Apr 23, 2024
1 parent 513d418 commit 59bb09d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions internal/probe/probe_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ var (
probeAgent *probe.Agent
registryServer *registry.Server

registryAddr = ":12345"
registryURL = "http://localhost:12345"
registryAddr = ":5432"
registryURL = "http://localhost:5432"
systemUUID = "1234-5678"
)

Expand Down
4 changes: 2 additions & 2 deletions internal/registry/registry_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (

var (
server *registry.Server
testServerURL = "http://localhost:12345"
testServerAddr = ":12345"
testServerURL = "http://localhost:54321"
testServerAddr = ":54321"
)

func TestRegistry(t *testing.T) {
Expand Down

0 comments on commit 59bb09d

Please sign in to comment.