diff options
author | Sean McGivern <sean@gitlab.com> | 2017-01-23 14:41:32 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-01-24 14:42:57 +0000 |
commit | a96765e6274b9b6886ee6172d25d47a9d36f18c6 (patch) | |
tree | 9b78fa6d16da7b4be5de2f4324cdcb4ee63a1ea6 /doc/hooks | |
parent | 65bf7e0d92856d90215ca908751e676393c10618 (diff) | |
download | gitlab-ce-a96765e6274b9b6886ee6172d25d47a9d36f18c6.tar.gz |
Add metric initializer specadd-metrics-initializer-spec
An empty file in one of the instrumented directories will cause the app
to fail to start when metrics are enabled. Metrics aren't enabled by
default in development or test.
We could handle the empty file case explicitly, but a file could still
not define the constant it is expected to, so instead run the
initializer manually in a spec and check that it succeeds.
Diffstat (limited to 'doc/hooks')
0 files changed, 0 insertions, 0 deletions