Conversation
Problem: We are running tests on multiple shards (up to 12) and want to try globalCache to speed up the pipeline. The proposed setup/teardown option does not suit us, as we want the data to be shared between all instances. Solution: run the cache as a separate server during test execution and “kill” it after the run.
|
@vitalets pls take a look |
|
Hey @mmtv-qa! Thanks for the pr, sharing data across shards is a definitely required feature. My thought is: let’s finalize the requirements first, and then dive into the implementation review.
|
I have checked it. Good concept
I see this flow as follows: We launch one server within one test run, run the tests, and then shut down the server. This seems to me to be the simplest and most effective approach.
P.S. I could consider the multi-instance option, but I don't see any obvious advantages at the moment. |
Problem: We are running tests on multiple shards (up to 12) and want to try globalCache to speed up the pipeline. The proposed setup/teardown option does not suit us, as we want the data to be shared between all instances.
Solution: run the global cache as a standalone server.
start-server-standalone.tsscript