From 89434acfc2699c20d4ffe47c61a422c57484713f Mon Sep 17 00:00:00 2001 From: Dusan Omercevic Date: Fri, 4 Jul 2025 17:40:41 +0200 Subject: [PATCH] - Improving specification of DevRev mock server - making server output less verbose by setting -- local --- devrev-snapin-template.plain | 4 ++-- run_devrev_snapin_conformance_tests.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/devrev-snapin-template.plain b/devrev-snapin-template.plain index 6cbe15b..76e91e0 100644 --- a/devrev-snapin-template.plain +++ b/devrev-snapin-template.plain @@ -46,9 +46,9 @@ - The Conformance Tests should spin a server at http://localhost:8002 for testing callbacks (The Callback Server). -- Worker data server runs at http://localhost:8003/external-worker and therefore there is no need to mock this server nor it receives any interesting data. +- The DevRev Server runs at http://localhost:8003, so it must not be mocked. -- DevRev server runs at http://localhost:8003 and therefore there is no need to mock this nor it receives any interesting data. +- The Worker Data Server is part of The DevRev Server and is accessible at http://localhost:8003/external-worker, so it must not be mocked. # The TypeScript Node.js application boilerplate diff --git a/run_devrev_snapin_conformance_tests.sh b/run_devrev_snapin_conformance_tests.sh index 1c2d240..8fc23d5 100755 --- a/run_devrev_snapin_conformance_tests.sh +++ b/run_devrev_snapin_conformance_tests.sh @@ -208,7 +208,7 @@ if [ "${VERBOSE:-}" -eq 1 ] 2>/dev/null; then fi # Start the snap-in in the background and redirect output to a log file -npm run test:server > app.log 2>&1 & +npm run test:server -- local > app.log 2>&1 & # Capture the process ID of the npm start command SNAP_IN_PID=$!