Closed (fixed)
Project:
Scheduler
Version:
2.x-dev
Component:
Testing
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2022 at 20:01 UTC
Updated:
23 Dec 2022 at 11:54 UTC
Jump to comment: Most recent
Some time between 20 and 24 November the three Scheduler tests involving Rules started failing. The log just says:
Scheduler_rules_integration.Drupal\Tests\scheduler_rules_integration\Functional\SchedulerRulesEventsTest
Drupal\Tests\scheduler_rules_integration\Functional\SchedulerRulesEventsTest
fail: [Other] Line 0 of sites/default/files/simpletest/phpunit-1.xml:
PHPUnit Test failed to complete; Error: PHPUnit 8.5.26
Same problem with SchedulerRulesConditionsTest and SchedulerRulesActionsTest
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jonathan1055 commentedGoing to commit the change to skip the Rules tests, to get the 2.x branch passing again.
This issue and MR can remain open to allow checking of the Rules tests later.
Comment #5
jonathan1055 commentedThe rules tests pass on 8.x-1.x running php7.3 on D9.4
Both 8.x-1.x and 2.x are attempting to get the latest 3.x-dev version of Rules because Rules 3.0.0-alpha7 is not compatible with PHP8.1. However, the dispatch log for both the passing and failing jobs on PHP7.3 have:
Does this mean that Rules is not updated to use 3.x-dev?
Comment #6
jonathan1055 commentedRunning at PHP8.1 we get
so the Rules module is updated to the latest 3.x-dev and the Rules tests all pass OK.
Comment #7
jonathan1055 commentedThat worked. Adding
mglaman/phpstan-drupal:*specifically with the * allowed a downgrade, which meant that the update to Rules 3.x-dev was not reverted. The test passed. We get:Comment #8
jonathan1055 commentedAdding
--devworks fine too, just get the message the other way round.Comment #10
jonathan1055 commentedFixed