README.txt 607 B

123456789101112131415161718
  1. # Test scripts to evaluate stability of drivers / pool etc.
  2. # To run this test you need to be in this directory + have node >= 8
  3. # and startup docker containers with proxy and sql servers
  4. docker-compose up --no-start
  5. docker-compose start
  6. # Select different test script to run:
  7. node mysql2-random-hanging-every-now-and-then.js 2> /dev/null | grep -B500 -A2 -- "- STATS"
  8. node mysql2-sudden-exit-without-error
  9. node knex-stress-test.js | grep -A 3 -- "- STATS "
  10. node reconnect-test-mysql-based-drivers.js 2> /dev/null | grep -A 3 -- "- STATS "
  11. # Shut down docker instances when done:
  12. docker-compose down