`yarn test-ios` exits before building RNTester: `objc-test.sh` launches the WebSocket server script #59433 deleted
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 76/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- bash, javascript, node.js, react-native
- Área
- build-system, mobile-dev, testing
Línea de trabajo
Empieza por scripts/objc-test.sh, alrededor de las líneas 54–70 y 132–135. Después, inspecciona las pruebas de integración de RNTester y la eliminación vinculada en PR #59433. Confirma si alguna prueba que quede necesita el servidor WebSocket en el puerto 5555 y actualiza el script de pruebas para que coincida con las pruebas actuales. Se considera terminado cuando yarn test-ios supera el inicio del servidor y continúa con el packager y la compilación de RNTester.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
yarn test-ios (scripts/objc-test.sh test) starts the WebSocket test server with sh "./IntegrationTests/launchWebSocketServer.sh" & from packages/rn-tester, then waits for localhost:5555 to answer (L132-L135). https://github.com/react/react-native/pull/59433 deleted packages/rn-tester/IntegrationTests/, that script and websocket_integration_test_server.js among it, so waitForWebSocketServer polls sixty times and exits 1: on main the command stops before it builds RNTester or runs a test. No test left on main connects to port 5555.
No GitHub job runs yarn test-ios (#59596), and #59666, which turns it on in test_ios_rntester, counts on the script starting that server.
Steps to reproduce
- On macOS, in a checkout of
main(0e4af152b8), runyarn test-ios; or runbash repro.shfrom the reproducer below, which runsscripts/objc-test.sh testin a sparse clone ofmainwithlsofstubbed, so the script's cleanup kills nothing listening on 8081 or 5555.
Expected: the script gets past the WebSocket server step to the packager and builds RNTester for testing.
Actual: it prints sh: ./IntegrationTests/launchWebSocketServer.sh: No such file or directory, retries localhost:5555 for a minute and exits 1 with WebSocket Server did not respond in time. No more attempts left.
React Native Version
main (0e4af152b8)
Affected Platforms
Build - MacOS
Output of npx @react-native-community/cli info
Not applicable: this is React Native's own test script. The reproducer's run: react-native 0e4af15 (2026-11-11), Darwin 27.2.0, bash 3.2.57(1)-release
Stacktrace or Logs
react-native 0e4af15 (2026-11-11), Darwin 27.2.0, bash 3.2.57(1)-release
packages/rn-tester/IntegrationTests/launchWebSocketServer.sh: missing
scripts/objc-test.sh:134: sh "./IntegrationTests/launchWebSocketServer.sh" &
scripts/objc-test.sh:135: waitForWebSocketServer
Launch WebSocket Server
sh: ./IntegrationTests/launchWebSocketServer.sh: No such file or directory
WebSocket Server did not respond in time. No more attempts left.
scripts/objc-test.sh test exited 1 after 62s, retrying localhost:5555 59 times
SUMMARY: yarn test-ios stops before building RNTester: it launches packages/rn-tester/IntegrationTests/launchWebSocketServer.sh, which is missing, and exits 1 when nothing answers on localhost:5555
MANDATORY Reproducer
https://gist.github.com/YevheniiKotyrlo/6235683cdbbb2507855f997fa6023f79 — bash repro.sh exits 1 while yarn test-ios stops at the WebSocket server and 0 once it gets past it to the packager.
Screenshots and Videos
No response
- Lenguaje dominante
- C++
- Estrellas
- 127k
- Forks
- 25.5k
- Merge medio
- 3 d 18 h
- PR fusionados (30 d)
- 188
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de react/react-native
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
react/react-native#59945 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
react/react-native#59944 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
react/react-native#59942 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
react/react-native#59929 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
iOS Fabric pointer-handler reset leaves the next lone touch non-primaryPosiblemente ocupada @alleneubank la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
react/react-native#59919 ·
Los mantenedores suelen responder en 2 días
Todos los issues de react/react-native
Issues similares
-
type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
tensorflow/tflite-micro#3995 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
not for AI lovers
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
OSGeo/gdal#15515 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
VT: Backend
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
contour-terminal/contour#2314 ·
Los mantenedores suelen responder en 1 día