Skip to content

Commit f46695d

Browse files
committed
Testing update
1 parent 49a45e4 commit f46695d

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

tests/run-sdk-tests.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# Can be run locally or in CI/CD.
55
#
66
# Usage:
7-
# ./run-sdk-tests.sh # Test all ports (48331, 48332, 48333)
8-
# SDK_TEST_PORTS="48331" ./run-sdk-tests.sh # Test specific port(s)
7+
# ./run-sdk-tests.sh # Test all ports (7331, 7332, 7333)
8+
# SDK_TEST_PORTS="7331" ./run-sdk-tests.sh # Test specific port(s)
99

1010
set -e
1111

@@ -14,9 +14,9 @@ PORTS="${SDK_TEST_PORTS:-7331 7332 7333}"
1414

1515
# Backend names for display
1616
declare -A BACKEND_NAMES
17-
BACKEND_NAMES[48331]="Hunchentoot"
18-
BACKEND_NAMES[48332]="Clack+Woo"
19-
BACKEND_NAMES[48333]="Clack+Hunchentoot"
17+
BACKEND_NAMES[7331]="Hunchentoot"
18+
BACKEND_NAMES[7332]="Clack+Woo"
19+
BACKEND_NAMES[7333]="Clack+Hunchentoot"
2020

2121
echo ""
2222
echo "* Running Datastar SDK Compliance Tests *"

tests/run-sse-tests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ echo " (prevents worker thread leaks that cause connection hangs)"
5252
echo
5353
echo "Timeout:" ${timeout_interval} "s"
5454
# Test all backends
55-
test_sse_endpoint 48331 "Hunchentoot" "ht-sse"
56-
test_sse_endpoint 48332 "Clack+Woo" "clack-woo-sse"
57-
test_sse_endpoint 48333 "Clack+Hunchentoot" "clack-ht-sse"
55+
test_sse_endpoint 7331 "Hunchentoot" "ht-sse"
56+
test_sse_endpoint 7332 "Clack+Woo" "clack-woo-sse"
57+
test_sse_endpoint 7333 "Clack+Hunchentoot" "clack-ht-sse"
5858

5959
# If we're here, nothing failed
6060
echo ""

tests/test.lisp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
(format t "~&SSE tests FAILED (exit code: ~a)~%" result))
4040
result))
4141

42-
(defun run-sdk-tests (&key (ports "48331 48332 48333"))
42+
(defun run-sdk-tests (&key (ports "7331 7332 7333"))
4343
"Run official Datastar SDK compliance tests using the shell script.
4444
PORTS can be a string of space-separated port numbers (default: all three backends)."
4545
(format t "~&~%Running SDK compliance tests...~%")
@@ -99,7 +99,7 @@
9999
(format t "Run individual test suites:~%")
100100
(format t " (datastar-cl-tests::run-sse-tests)~%")
101101
(format t " (datastar-cl-tests::run-sdk-tests)~%")
102-
(format t " (datastar-cl-tests::run-sdk-tests :ports \"48331\") ; Test one backend~%~%")
102+
(format t " (datastar-cl-tests::run-sdk-tests :ports \"7331\") ; Test one backend~%~%")
103103
(format t "Run all tests:~%")
104104
(format t " (datastar-cl-tests::run-all-tests)~%")
105105
(format t " (datastar-cl-tests::quick-test) ; shorthand~%~%")
@@ -108,7 +108,7 @@
108108
(format t "Shell scripts (can also run directly):~%")
109109
(format t " ./tests/run-sse-tests.sh~%")
110110
(format t " ./tests/run-sdk-tests.sh~%")
111-
(format t " SDK_TEST_PORTS=\"48331\" ./tests/run-sdk-tests.sh~%")
111+
(format t " SDK_TEST_PORTS=\"7331\" ./tests/run-sdk-tests.sh~%")
112112
(format t "========================================~%~%"))
113113

114114
;;; Handler

0 commit comments

Comments
 (0)