[test runner] Threshold for memory metrics

This commit is contained in:
Mikhail Pozdnyakov
2019-10-11 10:43:02 +03:00
parent f41f274ca1
commit 9adc78134c
3 changed files with 30 additions and 13 deletions

View File

@@ -507,7 +507,7 @@ TestMetrics readExpectedMetrics(const mbgl::filesystem::path& path) {
assert(probeValue[1].IsNumber());
assert(probeValue[2].IsNumber());
const std::string mark { probeValue[0].GetString(), probeValue[0].GetStringLength() };
std::string mark{probeValue[0].GetString(), probeValue[0].GetStringLength()};
assert(!mark.empty());
result.memory.emplace(std::piecewise_construct,
std::forward_as_tuple(std::move(mark)),