Skip to content

Commit

Permalink
Tests: Change test server ports to avoid collisions
Browse files Browse the repository at this point in the history
  • Loading branch information
roekatz committed Jun 27, 2024
1 parent 4f87811 commit 86c4c75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from opal_server.server import OpalServer

# Server settings
PORT = int(os.environ.get("PORT") or "9123")
PORT = int(os.environ.get("PORT") or "9124")
UPDATES_URL = f"ws://localhost:{PORT}/ws"
DATA_ROUTE = "/fetchable_data"
DATA_URL = f"http://localhost:{PORT}{DATA_ROUTE}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from opal_common.utils import get_authorization_header
from opal_server.config import PolicySourceTypes, opal_server_config

PORT = int(os.environ.get("PORT") or "9123")
PORT = int(os.environ.get("PORT") or "9125")

# Basic server route config
WEBHOOK_ROUTE = "/webhook"
Expand Down

0 comments on commit 86c4c75

Please sign in to comment.