Commit 5d4f935
committed
Fix flaky logging test
As documented in [RunningTests], tests have to be written to be
independent of any php.ini file.
Without specifying that no errors should be logged, the php cli server
invocation with the invalid address provokes additional diagnostic PHP
Warning messages on the diagnostic channel which invalidates the EXPECTF
section.
This renders the test-case flaky and will make it fail unless
`log_errors` is `0`.
Fix is to set the directive on the command line.
[RunningTests]: docs/source/miscellaneous/running-tests.rst1 parent 56835cc commit 5d4f935
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments