This test is failing on the main branch:

PHPUnit 6.5.8 by Sebastian Bergmann and contributors.

Testing Drupal\Tests\search_api\Kernel\Index\IndexImportTest
E                                                                   1 / 1 (100%)

Time: 11.51 seconds, Memory: 6.00MB

There was 1 error:

1) Drupal\Tests\search_api\Kernel\Index\IndexImportTest::testIndexImport
Drupal\Core\Config\ConfigImporterException: There were errors validating the config synchronization.

/Users/jonathan.hedstrom/work/contributions/cores/drupal/core/lib/Drupal/Core/Config/ConfigImporter.php:736
/Users/jonathan.hedstrom/work/contributions/cores/drupal/core/lib/Drupal/Core/Config/ConfigImporter.php:521
/Users/jonathan.hedstrom/work/contributions/cores/drupal/core/lib/Drupal/Core/Config/ConfigImporter.php:467
/Users/jonathan.hedstrom/work/contributions/modules/search_api/tests/src/Kernel/Index/IndexImportTest.php:99

ERRORS!
Tests: 1, Assertions: 4, Errors: 1.
CommentFileSizeAuthor
#3 2982693-03.patch673 bytesjhedstrom

Comments

jhedstrom created an issue. See original summary.

jhedstrom’s picture

According to git bisect, this issue #2788777: Allow a site-specific profile to be installed from existing config caused these fails to start...

jhedstrom’s picture

Status: Active » Needs review
StatusFileSize
new673 bytes

With a little help from #2503263: Config import validation needs to provide error messages, the actual error now is:

This import does not contain system.site configuration, so has been rejected.

This adds that to the dummy config to import.

borisson_’s picture

Status: Needs review » Reviewed & tested by the community

That sounds like a really good solution.

borisson_’s picture

Looks like I had forgotten about this issue, and created #2982693: Test failing on main branch over the week. Let's get this in, so I don't forget again.

drunken monkey’s picture

Status: Reviewed & tested by the community » Fixed

Thanks a lot, and sorry for taking so long to get back to you!
Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.