Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion features/cron.feature
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,13 @@ Feature: Manage WP-Cron events and schedules
"""
Error:
"""
And the {RUN_DIR}/server.log file should not exist

# Normally we would simply check for the log file to not exist. However, when running with Xdebug for code coverage purposes,
# the following warning might be added to the log file:
# PHP Warning: JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled. in Unknown on line 0
# This workaround checks for any other possible entries in the log file.
When I run `awk '!/JIT/' {RUN_DIR}/server.log 2>/dev/null || true`
Then STDOUT should be empty

Scenario: Run multiple cron events
When I try `wp cron event run`
Expand Down