Set plugins loadPriority in test environment gerrit.config The local test environment did not include any specific ordering for plugins loading, leading to an incorrect propagation of events and having async ref-update events being propagated even before the replication was happening via the pull-replication plugin. Also ensure that events-kafka is loaded as the last one, so that any catch-up activity happens when the system is fully operational. Change-Id: Ic858e2d998cf617ec479338626a3aa1fa893072e
diff --git a/setup_local_env/configs/gerrit.config b/setup_local_env/configs/gerrit.config index a4d68c2..1caedae 100644 --- a/setup_local_env/configs/gerrit.config +++ b/setup_local_env/configs/gerrit.config
@@ -42,6 +42,10 @@ directory = cache [plugins] allowRemoteAdmin = true + loadPriority = healthcheck + loadPriority = pull-replication + loadPriority = multi-site + loadPriority = events-kafka [plugin "events-kafka"] sendAsync = true bootstrapServers = $BROKER_HOST:$BROKER_PORT