Skip to content
代码片段 群组 项目
未验证 提交 cd89f9c0 编辑于 作者: Stan Hu's avatar Stan Hu
浏览文件

Fix stale Prometheus metrics directory not being restored

metrics_server_spec.rb used a temporary directory to store Prometheus
metrics, but there is a class variable that stores the current
configuration. When the directory was wiped, the configuration was not
properly restored, so any subsequent specs that attempted to log metrics
would fail.

We fix this by restoring the old metrics dir in the config after the
spec runs.

Closes https://gitlab.com/gitlab-org/gitlab/-/issues/347499
上级 a0315e77
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册