Skip to content

Commit 16b130b

Browse files
Merge a72ed31 into f542580
2 parents f542580 + a72ed31 commit 16b130b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

ydb/core/testlib/actors/test_runtime.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818
namespace NActors {
1919

2020
void TTestActorRuntime::TNodeData::Stop() {
21-
TNodeDataBase::Stop();
2221
if (Mon) {
2322
Mon->Stop();
23+
GetAppData<NKikimr::TAppData>()->Mon = nullptr;
2424
}
25+
TNodeDataBase::Stop();
2526
}
2627

2728
TTestActorRuntime::TNodeData::~TNodeData() {

ydb/core/viewer/viewer_ut.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ Y_UNIT_TEST_SUITE(Viewer) {
11231123
auto settings = TServerSettings(port);
11241124
settings.InitKikimrRunConfig()
11251125
.SetNodeCount(1)
1126-
.SetUseRealThreads(true)
1126+
.SetUseRealThreads(false)
11271127
.SetDomainName("Root")
11281128
.SetMonitoringPortOffset(monPort, true);
11291129

@@ -1145,7 +1145,7 @@ Y_UNIT_TEST_SUITE(Viewer) {
11451145
"database": "/Root",
11461146
"action": "execute-script",
11471147
"syntax": "yql_v1",
1148-
"stats": "profile"
1148+
"stats": "none"
11491149
})json";
11501150
const TKeepAliveHttpClient::THttpCode statusCode = httpClient.DoPost("/viewer/json/query?timeout=600000&base64=false&schema=modern", requestBody, &responseStream, headers);
11511151
const TString response = responseStream.ReadAll();

0 commit comments

Comments
 (0)