test: fix flaky parallel/test-repl-history-navigation test
Two scenarios should be tested:
- The completion is triggered and the result is printed before the next invocation.
- The completion is triggered multiple times right after each other without waiting for the result. In that case only the last result should be printed.
The first scenario did not need a timeout while the latter did not need a timeout for the second invocation.
Fixes: #31094 (closed)
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines