-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression: PDO Exceptions when running single tests after #3224 #5202
Comments
Not all tests are affected, but for sure a lot more failures, if the locale module is enabled. Still investigating. Another finding: running tests with PHP version doesn't seem to matter, I tried with 7.4 and 5.6. Here's an example error from a tugboat instance, which did not have the locale module enabled:
|
docwilmot: I tried running Comment Interface Test on the BackdropCMS.org tugboat demo site, and that also crashed, but the site is running 1.19.3. So maybe this is more than one problem actually. docwilmot: I didnt get any Exception errors or useful messages, just a test failed and docwilmot: This is with and without locale enabled |
@docwilmot the |
OK, so definitely two things, but can you confirm, running that test in the demo, now, leads to an AJAX error. Just curious. |
Confirmed 👍🏼 (separate issue though) |
Bear with me, wild guessing again... Maybe the execution of hook_config_create() slows down the table-copy-job of Simpletest? So it might be sort of a race condition somewhere? |
I don't think that would affect this. The hooks should only be run on the initial install, which happens before the first test is run. |
Hm, are you sure? Many setUp() functions install additional modules - core modules or specific testing modules. To my understanding this happens when setting up the individual test, correct me if I'm wrong. |
That is true, but that doesn't happen until after the tables are all copied. |
Obviously that modules requires locale to be on. |
Wait, no, false alert. It wasn't this problem causing the failures, but just the recent button text changes. All good, sorry for the noise. |
Whatever broke, I'm not able to reproduce it anymore. Closing as outdated. |
Description of the bug
When trying to run a single test (verified with several local and a tugboat instance), it ends up in a fatal error:
Different tables, but it always ends up with "Base table or view not found".
Commenting out line 296 in core/includes/config.inc brings back Simpletest functionality.
module_invoke_all('config_create', $config);
Steps To Reproduce
Actual behavior
End up with a PDO Exception
Additional information
That change is pretty new and not released yet. It's in the 1.20 milestone.
backdrop/backdrop#3695
The text was updated successfully, but these errors were encountered: