move generation of ephemeral database names (used in perf/unit testing) to a...
move generation of ephemeral database names (used in perf/unit testing) to a higher level and out of core code. also, emphemeral database cleanup is now a responsibility of the harness running the software (test harness, or run_locally.js). This fixes race conditions in unit tests that restart daemons (closes #557) and simplifies running local performance tests (issue #504)
Showing
- lib/configuration.js 1 addition, 4 deletionslib/configuration.js
- lib/db.js 9 additions, 0 deletionslib/db.js
- lib/db/json.js 6 additions, 14 deletionslib/db/json.js
- lib/db/mysql.js 19 additions, 25 deletionslib/db/mysql.js
- scripts/run_locally.js 19 additions, 3 deletionsscripts/run_locally.js
- tests/db-test.js 16 additions, 0 deletionstests/db-test.js
- tests/lib/start-stop.js 2 additions, 2 deletionstests/lib/start-stop.js
- tests/lib/test_env.js 9 additions, 0 deletionstests/lib/test_env.js
Loading
Please register or sign in to comment