错误处理
This commit is contained in:
@@ -527,7 +527,11 @@ TEST(RenderiveWebGallery, PerformanceCaptureReturnsPlanFrameAnalysisAndStatistic
|
||||
ASSERT_EQ(rendered.at("type"), "case_state");
|
||||
}
|
||||
|
||||
const auto& capture = rendered.at("telemetry").at("performance_capture");
|
||||
nlohmann::json capture;
|
||||
ASSERT_TRUE(wait_for_condition([&] {
|
||||
capture = observe_telemetry(session).at("performance_capture");
|
||||
return !capture.at("controller").at("enabled").get<bool>();
|
||||
}));
|
||||
EXPECT_FALSE(capture.at("controller").at("enabled"));
|
||||
ASSERT_EQ(capture.at("sessions").size(), 1U);
|
||||
const auto& captured = capture.at("sessions").at(0);
|
||||
|
||||
Reference in New Issue
Block a user