@@ -1208,7 +1208,7 @@ Y_UNIT_TEST_SUITE(TCdcStreamTests) {
1208
1208
1209
1209
TestCreateTable (runtime, schemeShard, ++txId, dbName, R"(
1210
1210
Name: "Table"
1211
- Columns { Name: "key" Type: "Uint64 " }
1211
+ Columns { Name: "key" Type: "Uint32 " }
1212
1212
Columns { Name: "value" Type: "Utf8" }
1213
1213
KeyColumnNames: ["key"]
1214
1214
UniformPartitionsCount: 2
@@ -1217,22 +1217,10 @@ Y_UNIT_TEST_SUITE(TCdcStreamTests) {
1217
1217
1218
1218
runtime.SetLogPriority (NKikimrServices::PERSQUEUE, NLog::PRI_NOTICE);
1219
1219
{
1220
- // should write at least 16MiB to exceed the topics non-metered limit
1220
+ // should write at least 16MiB to exceed the non-metered limit of topic's partition
1221
1221
const TString value = TString (500_KB, ' x' );
1222
1222
for (size_t i = 0 ; i < 100 ; ++i) {
1223
- const unsigned key = 3000 + i;
1224
- const TString writeQuery = Sprintf (R"(
1225
- (
1226
- (let key '( '('key (Uint64 '%u ) ) ) )
1227
- (let row '( '('value (Utf8 '%s) ) ) )
1228
- (return (AsList (UpdateRow '__user__%s key row) ))
1229
- )
1230
- )" , key, value.c_str (), " Table" );
1231
- NKikimrMiniKQL::TResult result;
1232
- TString err;
1233
- NKikimrProto::EReplyStatus status = LocalMiniKQL (runtime, TTestTxConfig::FakeHiveTablets + 6 , writeQuery, result, err);
1234
- UNIT_ASSERT_VALUES_EQUAL (err, " " );
1235
- UNIT_ASSERT_VALUES_EQUAL (status, NKikimrProto::EReplyStatus::OK);
1223
+ WriteRow (runtime, schemeShard, ++txId, dbName + " /Table" , 0 , i, value);
1236
1224
}
1237
1225
}
1238
1226
0 commit comments