commit | 034b65c982d642c9752d1b99e7a6ccb2303f9f83 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Fri Apr 09 12:47:37 2021 +0200 |
committer | Edwin Kempin <ekempin@google.com> | Fri Apr 16 09:44:18 2021 +0200 |
tree | 11cbed284ac5c6f37e9fcb559ea5c3f36e9614f9 | |
parent | b276f32545875517927a5cdb754b539c54a94a35 [diff] |
Test that submit rule is not invoked too often when getting/querying change These tests verify that submit rules are not invoked too often. They are added to prevent regressions. Before change I6863f764d in Gerrit core submit rules were invoked too often: 1. when getting change details submit rules were invoked twice instead of just once, once for populating submit requirements in the change JSON and once for checking if the submit button should be visible. 2. when querying a change submit rules were invoked to check if the submit button should be visible, but it's expected that submit rules are not invoked at all The issue only occurred if the list changes options ALL_REVISIONS and CURRENT_ACTIONS were used together. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: Id248d63ffc95da4fb6beb8dac95a41357a4650b9
This plugin provides support for defining code owners for files in a repository.
If the code-owners plugin is enabled, changes can only be submitted if all touched files are covered by approvals from code owners.
Also see resources/Documentation/about.md.
IMPORTANT: Before installing/enabling the plugin follow the instructions from the setup guide, see resources/Documentation/setup-guide.md.