Commit d89cf462 authored by Toon Claes's avatar Toon Claes

Add documentation note to test selective sync

The Geo Self-service framework provides a bunch of shared tests. But to
be able to use them, the factory for the replicable you're working on
should have a `project` attribute.
parent 7e2ff88b
......@@ -560,6 +560,10 @@ Metrics are gathered by `Geo::MetricsUpdateWorker`, persisted in
end
```
1. Make sure the factory also allows setting a `project` attribute. If the model
does not have a direct relation to a project, you can use a `transient`
attribute. Check out `spec/factories/merge_request_diffs.rb` for an example.
Widget replication and verification metrics should now be available in the API,
the Admin Area UI, and Prometheus!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment