valkey-io / valkey-glide

An open source Valkey client library that supports Valkey and Redis open source 6.2, 7.0 and 7.2. Valkey GLIDE is designed for reliability, optimized performance, and high-availability, for Valkey and Redis OSS based applications. GLIDE is a multi language client library, written in Rust with programming language bindings, such as Java and Python
Apache License 2.0
268 stars 56 forks source link

Node: fix flaky test #2657

Open Yury-Fridlyand opened 2 weeks ago

Yury-Fridlyand commented 2 weeks ago

Issue link

https://github.com/valkey-io/valkey-glide/actions/runs/11737024037/job/32697212681#step:5:496 https://github.com/valkey-io/valkey-glide/actions/runs/11737024037/job/32697211683#step:5:497

  1. Dump for some values can be successfully represented by an UTF-8 string
  2. Different errors could be produced while converting incompatible byte[] into a string
  3. Fix for npm run test - it was ignoring rest of the command line (e.g. npm run test -- --testNamePattern="dump and restore transactions" --standalone-endpoints=localhost:6379)

Checklist

Before submitting the PR make sure the following are checked: