)]}'
{"taskflow/tests/unit/persistence/test_sql_persistence.py":[{"author":{"_account_id":7366,"name":"Ivan Melnikov","email":"imelnikov@griddynamics.com","username":"imelnikov"},"change_message_id":"61f6df553764cd27c70cf3206235dfa64a17ee5a","unresolved":false,"context_lines":[{"line_number":158,"context_line":"        try:"},{"line_number":159,"context_line":"            engine \u003d sa.create_engine(connection_uri)"},{"line_number":160,"context_line":"            with contextlib.closing(engine.connect()) as conn:"},{"line_number":161,"context_line":"                conn.execute(\"DROP DATABASE IF EXISTS %s\" % DATABASE)"},{"line_number":162,"context_line":"                conn.execute(\"CREATE DATABASE %s\" % DATABASE)"},{"line_number":163,"context_line":"        finally:"},{"line_number":164,"context_line":"            if engine is not None:"}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAUH%2F%2FZCg%3D","line":161,"updated":"2014-01-14 09:32:56.000000000","message":"So, all test method use same database. How does it work when we run tests in parallel? As far as I understand, nothing prevents one test runner to drop database that another test runner uses at the moment.\n\nSQLite tests use temporary files for databases. Can\u0027t we use same approach here, for example creating database with random name name (e.g. \"%s_%s\" % (DATABASE, uuid.uuid4().int) and dropping it in .addCleanup()? Or maybe I\u0027m missing smth and all this is not needed?","commit_id":"d40f74d96fbff1f47329180eee0b27f78366fc90"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"19ea185c1457c420ea9265ff010582779bedf2b0","unresolved":false,"context_lines":[{"line_number":158,"context_line":"        try:"},{"line_number":159,"context_line":"            engine \u003d sa.create_engine(connection_uri)"},{"line_number":160,"context_line":"            with contextlib.closing(engine.connect()) as conn:"},{"line_number":161,"context_line":"                conn.execute(\"DROP DATABASE IF EXISTS %s\" % DATABASE)"},{"line_number":162,"context_line":"                conn.execute(\"CREATE DATABASE %s\" % DATABASE)"},{"line_number":163,"context_line":"        finally:"},{"line_number":164,"context_line":"            if engine is not None:"}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAUH%2F%2FWqE%3D","line":161,"in_reply_to":"AAAAUH%2F%2FZCg%3D","updated":"2014-01-14 18:12:41.000000000","message":"So looking at the jenkins config.\n\nhttps://github.com/openstack-infra/config/blob/master/modules/jenkins/manifests/slave.pp#L220\n\nIt doesn\u0027t appear that we can create other databases, but let me follow-up with the infra folks to see if we really can. If we only have grants on the \u0027openstack_citest\u0027 database that will make it hard to create other databases. \n\nFrom looking at what nova is doing it seems like they put big process locks on there usage. Although they are mostly just testing migrations, not actual usage from what I can see.\n\nhttp://git.openstack.org/cgit/openstack/nova/tree/nova/tests/db/test_migrations.py#n287","commit_id":"d40f74d96fbff1f47329180eee0b27f78366fc90"}],"tox-tmpl.ini":[{"author":{"_account_id":7366,"name":"Ivan Melnikov","email":"imelnikov@griddynamics.com","username":"imelnikov"},"change_message_id":"885d328272542707035297bd55ff03b1729d270e","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"[axes]"},{"line_number":60,"context_line":"python \u003d py26,py27,py33"},{"line_number":61,"context_line":"sqlalchemy \u003d sa7-py26_27,sa8-py26_27,sa9-py26_27,sa9-py3,sa8-py3,sa7-py3,nosa"},{"line_number":62,"context_line":"eventlet \u003d ev,*"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"[axis:python:py26]"}],"source_content_type":"text/x-properties","patch_set":22,"id":"AAAAUH%2F%2BcvI%3D","line":61,"updated":"2014-01-26 06:29:23.000000000","message":"I\u0027d like to suggest another approach to multiple MySQL drivers, take a look: https://review.openstack.org/69169","commit_id":"acaf9ff9c7930ec6c6db074acecb6b40719d8ad5"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"0d4eb5d72399d3da80b42ab867c628104a139da2","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"[axes]"},{"line_number":60,"context_line":"python \u003d py26,py27,py33"},{"line_number":61,"context_line":"sqlalchemy \u003d sa7-py26_27,sa8-py26_27,sa9-py26_27,sa9-py3,sa8-py3,sa7-py3,nosa"},{"line_number":62,"context_line":"eventlet \u003d ev,*"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"[axis:python:py26]"}],"source_content_type":"text/x-properties","patch_set":22,"id":"AAAAUH%2F%2BcrI%3D","line":61,"in_reply_to":"AAAAUH%2F%2BcvI%3D","updated":"2014-01-26 06:56:02.000000000","message":"Done","commit_id":"acaf9ff9c7930ec6c6db074acecb6b40719d8ad5"}]}
