Page MenuHomePhabricator

oauth_registered_consumer table not created under sqlite
Closed, ResolvedPublic


Wikimedia Jenkins uses sqlite as a backend. The OAuth database updater does not register any schema for sqlite, that causes some tests to fails because the table oauth_registered_consumer is not found.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:36 AM
bzimport set Reference to bz67296.
bzimport added a subscriber: Unknown Object (MLST).

Change 143021 had a related patch set uploaded by Hashar:
Supports sqlite

We really need tests to pass when all wmf extensions are installed together. That is preventing us from progression toward the HHVM migrating. Raising priority to High.

I think that fix should work, I'll try and test it out. Good to have regardless.

Do you have a link to the failing tests? None of the tests should be using a database, so I'm not sure where that slipped in.

Some other extension tests (maybe OATHAuth) ends up hitting the oauth_registered_consumer table and thus a stack trace.

All good now, thank you. Might later backport it to REL1_23.

Change 143590 had a related patch set uploaded by Hashar:
Supports sqlite