We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 676e32f + 96824c0 commit cad4e99Copy full SHA for cad4e99
features/cron.feature
@@ -255,7 +255,13 @@ Feature: Manage WP-Cron events and schedules
255
"""
256
Error:
257
258
- And the {RUN_DIR}/server.log file should not exist
+
259
+ # Normally we would simply check for the log file to not exist. However, when running with Xdebug for code coverage purposes,
260
+ # the following warning might be added to the log file:
261
+ # PHP Warning: JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled. in Unknown on line 0
262
+ # This workaround checks for any other possible entries in the log file.
263
+ When I run `awk '!/JIT/' {RUN_DIR}/server.log 2>/dev/null || true`
264
+ Then STDOUT should be empty
265
266
Scenario: Run multiple cron events
267
When I try `wp cron event run`
0 commit comments