commit | d3af6e67e6e1ac7ad3d91dc6ea28a1b94063a888 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Wed Jul 01 15:34:26 2020 +0100 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Jul 01 14:34:26 2020 +0000 |
tree | 4dfa92573ad95c1984da39a3271acf80413d47ab | |
parent | d7cfdbc914dc18ffab985538bf392a6b9e43c547 [diff] |
Update git submodules * Update plugins/replication from branch 'stable-2.16' to f0fb23cdf39dfb89971e6655f0e08650e14b0631 - Fix flakiness in ReplicationIT for pending events firing Fix the shouldFirePendingOnlyToStoredUri test by making sure that events are NOT executed by the replication engine until the tests has completed the preparation phase. The Gerrit build on stable-2.16 became flaky right afterward the merge of the new shouldFirePendingOnlyToStoredUri test which highlighted the flakiness. The test wants to simulate a situation where a ref-update needs to be propagated to two remotes: remote1 and remote2. For doing so, it configures the two remotes and crates a change for generating the two replication tasks files on the filesystem. Then, it looks for the events associated for remote1 and removes them, so that the next replication queue startup won't find it and won't replicate the change to remote1. During the interval of time between the creation of the change and the removal of the underlying replication task on the filesystem, the replication task could have been executed already and the test failed. Make sure that the replication does not kick in by setting the replication timeout to Integer.MAX_VALUE at the beginning. Then, once the replication task file is removed on the filesystem, set it back to default and reload the configuration to trigger the firing of the events. Remove also the explicit start/stop of the replication queue, as the config reload is already a stop/start process and it automatically triggering an event replay. Change-Id: Ifd591da37e94b6ce8f281cb0404f3f3c737489f3
Gerrit is a code review and project management tool for Git based projects.
Gerrit makes reviews easier by showing changes in a side-by-side display, and allowing inline comments to be added by any reviewer.
Gerrit simplifies Git based project maintainership by permitting any authorized user to submit changes to the master Git repository, rather than requiring all approved changes to be merged in by hand by the project maintainer.
For information about how to install and use Gerrit, refer to the documentation.
Our canonical Git repository is located on googlesource.com. There is a mirror of the repository on Github.
Please report bugs on the issue tracker.
Gerrit is the work of hundreds of contributors. We appreciate your help!
Please read the contribution guidelines.
Note that we do not accept Pull Requests via the Github mirror.
The Developer Mailing list is repo-discuss on Google Groups.
Gerrit is provided under the Apache License 2.0.
Install Bazel and run the following:
git clone --recurse-submodules https://gerrit.googlesource.com/gerrit cd gerrit && bazel build release
The instruction how to configure GerritForge/BinTray repositories is here
On Debian/Ubuntu run:
apt-get update & apt-get install gerrit=<version>-<release>
NOTE: release is a counter that starts with 1 and indicates the number of packages that have been released with the same version of the software.
On CentOS/RedHat run:
yum clean all && yum install gerrit-<version>[-<release>]
On Fedora run:
dnf clean all && dnf install gerrit-<version>[-<release>]
Docker images of Gerrit are available on DockerHub
To run a CentOS 7 based Gerrit image:
docker run -p 8080:8080 gerritforge/gerrit-centos7[:version]
To run a Ubuntu 15.04 based Gerrit image:
docker run -p 8080:8080 gerritforge/gerrit-ubuntu15.04[:version]
NOTE: release is optional. Last released package of the version is installed if the release number is omitted.