Skip to content

Commit 397f901

Browse files
committed
experimental
1 parent efa7cca commit 397f901

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/wokwi-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,11 @@ jobs:
183183
elapsed=0
184184
while [ $elapsed -lt $max_wait ]; do
185185
if curl -s -f http://localhost:9080 > /dev/null 2>&1; then
186-
echo "✅ Web server is ready after $elapsed seconds!"
186+
echo "✅ Web server is ready on port 9080 after $elapsed seconds!"
187+
break
188+
fi
189+
if curl -s -f http://localhost:8080 > /dev/null 2>&1; then
190+
echo "✅ Web server is ready on port 8080 after $elapsed seconds!"
187191
break
188192
fi
189193
if ! kill -0 $WOKWI_PID 2>/dev/null; then

test/wokwi/run-simulator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fi
1818

1919
echo "Starting Wokwi simulator..."
2020
echo "Timeout: ${WOKWI_TIMEOUT} seconds"
21-
echo "Web server will be available at http://localhost:9080"
21+
echo "Web server will be available at http://localhost:8080"
2222
echo "Serial output will be displayed below"
2323
echo "=================================="
2424
echo ""

test/wokwi/wokwi.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ file = "partitions.bin"
1717

1818
[[net.forward]]
1919
# Forward the web server port
20-
from = "localhost:9080"
20+
from = "localhost:8080"
2121
to = "target:80"

0 commit comments

Comments
 (0)