Skip to content

Commit 716a55a

Browse files
committed
Configure echo-server port
1 parent 2eafbf5 commit 716a55a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.yamato/desktop-standalone-tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
7676
type: {% if platform.name == "mac" %} {{ platform.type }} {% else %} {{ platform.type }}::GPU {% endif %}
7777
image: {{ platform.image }}
7878
flavor: {{ platform.flavor }}
79+
variables:
80+
ECHO_SERVER_PORT: "7788"
7981
commands:
8082
# Platform specific UTR setup
8183
- |
@@ -97,7 +99,7 @@ desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
9799
# Build the echo server
98100
- cd ./mps-common-multiplayer-backend/runtime && $HOME/.cargo/bin/cargo build --example ngo_echo_server
99101
# Run the echo server in the background - this will reuse the artifacts from the build
100-
- cd ./mps-common-multiplayer-backend/runtime && $HOME/.cargo/bin/cargo run --example ngo_echo_server &
102+
- cd ./mps-common-multiplayer-backend/runtime && $HOME/.cargo/bin/cargo run --example ngo_echo_server -- --port $ECHO_SERVER_PORT &
101103
{% endif %}
102104

103105
# Run Standalone tests

0 commit comments

Comments
 (0)