Commit 08bfdb3
Fix race condition in test by serializing hook execution
When two concurrent subprocesses both modify the WordPress cron option
simultaneously, the second write can overwrite the first removal,
leaving stale events. Use --concurrent=1 for the basic execution test
to avoid this; actual concurrency is still tested separately in test 8.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2efc5c0 commit 08bfdb3
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | | - | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
0 commit comments