stable

Clone or download

Read-only

Fix e2e full tests due to forgeupgrade

The setup of e2e test was broken for several reasons: - plugin installation was requiring `db` subdirectory to exists. But not all plugins have migration buckets. - gathering of pending buckets was memoized in ForgeUpgrade object. It was all good when only one run was done at time but as long as install was re-using the same ForgeUpgrade object, it was the same buckets that were "tried" again and again. There is a chance that this bug could hit end users that have: - installed Tuleap after version 12.10.99.191 - and used `tuleap plugin:install` command So except the few users of `tuleap/tuleap-community-edition` we should be safe (and it's unlikely that the image even ran). Part of request #21864 Import forgeupgrade into Tuleap Change-Id: Ida5bbbd351bb1a07812e36bfe8392c3788dacaf0

Modified Files

Name
M plugins/pluginsadministration/include/PluginsAdministrationActions.class.php +12 −8 Go to diff View file
M plugins/pluginsadministration/site-content/fr_FR/LC_MESSAGES/tuleap-pluginsadministration.po +5 −1 Go to diff View file
M src/common/ForgeUpgrade/ForgeUpgrade.php +8 −15 Go to diff View file
M src/common/Plugin/PluginManager.php +7 −13 Go to diff View file
M tests/e2e/full/tuleap/setup.sh +0 −2 Go to diff View file
M tests/unit/common/Plugin/PluginManagerTest.php +3 −3 Go to diff View file