Resolve "Unstable unit test: TestSubnetPrefixInPrometheusMetrics"

Closes #943

Merge request reports