#2241633: Simplify site-specific service overrides broke CLI testing.
PHP Warning: Invalid argument supplied for foreach() in /var/lib/drupaltestbot/sites/default/files/checkout/core/lib/Drupal/Core/DrupalKernel.php on line 597
Warning: Invalid argument supplied for foreach() in /var/lib/drupaltestbot/sites/default/files/checkout/core/lib/Drupal/Core/DrupalKernel.php on line 597
See the log (at the bottom of the page) for https://qa.drupal.org/8.x-status at the moment.
I guess this is occurring so early in the test run we're not catching this as an error.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | drupal8.testkernel-provider.5.patch | 901 bytes | sun |
| #5 | 2266547.5.patch | 766 bytes | alexpott |
| #1 | 2266547.1.patch | 769 bytes | alexpott |
Comments
Comment #1
alexpottComment #2
alexpottComment #3
alexpottWithout this patch you can not use run-tests.sh without a parent site. With it everythign works as expected.
To run run-tests.sh without a parent site you need to add --sqlite and --dburl parameters.
Above are the errors without this patch from running a parentless test.
Comment #4
berdirConfirmed, makes the warning go away and fixes it for the no-parent-mode. Need to confirm testbot output but this should be good.
Comment #5
alexpottTalked to @sun in IRC the second element of the array is usually the module name - in this case let's use the component name.
Comment #6
sunLet's use the component name with its capitalized notion to prevent name clashes; i.e., 'Test'
x-post... yes, that, and also adjusting the method override.
Comment #7
sunComment #8
catchCommitted/pushed to 8.x, thanks!