[Node][Flaky Test] GlideClient › script is not removed while another instance exists - 0
#3,987 opened on May 26, 2025
Repository metrics
- Stars
- (762 stars)
- PR merge metrics
- (PR metrics pending)
Description
Description of the Flaky Test
Test Name: GlideClient › script is not removed while another instance exists - 0
Test Location: tests/GlideClient.test.ts
Failure Permlink: https://github.com/valkey-io/valkey-glide/actions/runs/15259817681/job/42915993182?pr=3982#step:8:851
Frequency: Flakiness observed in CI, frequency unknown (please update if known).
Steps to Reproduce
- Run the CI pipeline on PRs or pushes (Node workflow).
- Observe the results of
tests/GlideClient.test.ts. - Test intermittently fails with a RequestError.
Additional Context
System Information: GitHub Actions, Linux (x86_64-unknown-linux-gnu) 24
Language and Version: TypeScript/Node.js
Engine Version: Expected: 8.0.3
Logs:
RequestError: An error was signalled by the server: - NoScriptError: No matching script.
See full logs in CI run: https://github.com/valkey-io/valkey-glide/actions/runs/15259817681/job/42915993182?pr=3982
Screenshots: N/A
Glide Version: main
Expected Behavior
The test should reliably pass, ensuring scripts are managed correctly even when multiple instances exist.
Actual Behavior
Test intermittently fails with NoScriptError: No matching script.
Possible Fixes
Investigate possible timing or state leakage between test instances, and ensure proper teardown/cleanup of scripts between runs.