@@ -321,7 +321,8 @@ namespace NKikimr::NPersQueueTests {
321
321
Server.CleverServer ->GetRuntime ()->GetAppData (nodeId).PersQueueMirrorReaderFactory = Fabric.get ();
322
322
}
323
323
324
- Server.EnableLogs ({NKikimrServices::PQ_READ_PROXY, NKikimrServices::PQ_MIRRORER, NKikimrServices::PQ_MIRROR_DESCRIBER});
324
+ Server.EnableLogs ({NKikimrServices::PQ_READ_PROXY});
325
+ Server.EnableLogs ({NKikimrServices::PQ_MIRRORER, NKikimrServices::PQ_MIRROR_DESCRIBER}, NActors::NLog::PRI_TRACE);
325
326
Server.AnnoyingClient ->CreateConsumer (" user" );
326
327
}
327
328
@@ -1038,6 +1039,21 @@ namespace NKikimr::NPersQueueTests {
1038
1039
/* ui64 sourceIdLifetime =*/ 86400 ,
1039
1040
partitionStrategy);
1040
1041
1042
+
1043
+ UNIT_ASSERT_VALUES_EQUAL (CountPartitionsByStatus (srcTopicFullName, server).Active , 2 );
1044
+
1045
+ for (TString name : {srcTopicFullName, }) {
1046
+ PrintTopicDescription (name, " 2" , server);
1047
+ }
1048
+ PrechargeTopic (srcTopic, driver, sourcesCount, 1 , 1 , {});
1049
+ UNIT_ASSERT_VALUES_EQUAL (CountPartitionsByStatus (srcTopicFullName, server).Active , 2 );
1050
+ for (TString name : {srcTopicFullName, }) {
1051
+ PrintTopicDescription (name, " 3" , server);
1052
+ }
1053
+
1054
+ ui64 txId = 1006 ;
1055
+ SplitPartition (txId++, srcTopicFullName, 1 , " \xC0 " , *ctx.Runtime ());
1056
+
1041
1057
NKikimrPQ::TMirrorPartitionConfig mirrorFrom;
1042
1058
mirrorFrom.SetEndpoint (" localhost" );
1043
1059
mirrorFrom.SetEndpointPort (ctx.Server .GrpcPort );
@@ -1060,24 +1076,11 @@ namespace NKikimr::NPersQueueTests {
1060
1076
/* ui64 sourceIdLifetime =*/ 86400 ,
1061
1077
partitionStrategy);
1062
1078
1063
- UNIT_ASSERT_VALUES_EQUAL (CountPartitionsByStatus (srcTopicFullName, server).Active , 2 );
1064
- // UNIT_ASSERT_VALUES_EQUAL(CountPartitionsByStatus(dstTopicFullName, server).Active, 2);
1065
- for (TString name : {srcTopicFullName, dstTopicFullName}) {
1066
- PrintTopicDescription (name, " 2" , server);
1067
- }
1068
- PrechargeTopic (srcTopic, driver, sourcesCount, 1 , 1 , {});
1069
- UNIT_ASSERT_VALUES_EQUAL (CountPartitionsByStatus (srcTopicFullName, server).Active , 2 );
1070
- // UNIT_ASSERT_VALUES_EQUAL(CountPartitionsByStatus(dstTopicFullName, server).Active, 2);
1071
- for (TString name : {srcTopicFullName, dstTopicFullName}) {
1072
- PrintTopicDescription (name, " 3" , server);
1073
- }
1074
-
1075
- ui64 txId = 1006 ;
1076
- SplitPartition (txId++, srcTopicFullName, 1 , " \xC0 " , *ctx.Runtime ());
1077
- for (TString name : {srcTopicFullName, dstTopicFullName}) {
1079
+ for (TString name : {srcTopicFullName, }) {
1078
1080
PrintTopicDescription (name, " 4" , server);
1079
1081
}
1080
1082
1083
+
1081
1084
THashMap<ui32, ui32> messagesPerPartition;
1082
1085
// write to source topic
1083
1086
constexpr TWriteCount writeBatch[]{
0 commit comments