@@ -1208,7 +1208,7 @@ Y_UNIT_TEST_SUITE(TCdcStreamTests) {
12081208
12091209 TestCreateTable (runtime, schemeShard, ++txId, dbName, R"(
12101210 Name: "Table"
1211- Columns { Name: "key" Type: "Uint64 " }
1211+ Columns { Name: "key" Type: "Uint32 " }
12121212 Columns { Name: "value" Type: "Utf8" }
12131213 KeyColumnNames: ["key"]
12141214 UniformPartitionsCount: 2
@@ -1217,22 +1217,10 @@ Y_UNIT_TEST_SUITE(TCdcStreamTests) {
12171217
12181218 runtime.SetLogPriority (NKikimrServices::PERSQUEUE, NLog::PRI_NOTICE);
12191219 {
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
12211221 const TString value = TString (500_KB, ' x' );
12221222 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);
12361224 }
12371225 }
12381226
0 commit comments