Since #2392433: Stream wrappers are registered before page cache went in, every test run that uses run-tests.sh is throwing the following warnings:

Warning: is_dir(): Unable to find the wrapper "public" - did you forget to enable it when you configured PHP? in /.../core/lib/Drupal/Core/Test/TestRunnerKernel.php on line 79

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue category Bug
Issue priority Major because PHP warnings during testing could be masking other issues
Unfrozen changes Unfrozen because it only changes the test running script to not throw warnings
CommentFileSizeAuthor
#1 run-tests-warning-2394327-01.patch590 bytesjhedstrom
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jhedstrom’s picture

Status: Active » Needs review
FileSize
590 bytes
alexpott’s picture

I run all my tests using run-tests.sh and have no seen this - I can't repeat it.

jhedstrom’s picture

It's happening on the test bots for every test that I have looked at (you need to look at the log at the bottom). I linked 2 of these in the summary.

alexpott’s picture

Status: Needs review » Reviewed & tested by the community

Ah this happens if you use run tests without a parent site.

The fix works for me. Looks great.

  • catch committed 14669c9 on 8.0.x
    Issue #2394327 by jhedstrom: run-tests.sh throwing stream wrapper...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.0.x, thanks!

Status: Fixed » Closed (fixed)

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