Skip to content

Commit

Permalink
Fix tests with create and drop pq tablet (#2499)
Browse files Browse the repository at this point in the history
  • Loading branch information
kruall authored Mar 6, 2024
1 parent 69a9b04 commit 96c9390
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 0 additions & 2 deletions .github/config/muted_ya.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ ydb/core/tx/columnshard/ut_schema TColumnShardTestSchema.RebootForgetAfterFail
ydb/core/tx/columnshard/engines/ut *
ydb/core/tx/coordinator/ut Coordinator.RestoreTenantConfiguration
ydb/core/tx/datashard/ut_change_exchange Cdc.InitialScanDebezium
ydb/core/tx/schemeshard/ut_base TSchemeShardTest.CreatePersQueueGroup
ydb/core/tx/schemeshard/ut_base TSchemeShardTest.DropPQ
ydb/core/tx/schemeshard/ut_restore TImportTests.ShouldSucceedOnManyTables
ydb/core/tx/schemeshard/ut_split_merge TSchemeShardSplitBySizeTest.Merge1KShards
ydb/core/tx/tx_proxy/ut_ext_tenant TExtSubDomainTest.CreateTableInsideAndAlterDomainAndTable-AlterDatabaseCreateHiveFirst*
Expand Down
13 changes: 1 addition & 12 deletions ydb/core/tx/schemeshard/ut_base/ut_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6331,17 +6331,6 @@ Y_UNIT_TEST_SUITE(TSchemeShardTest) {
"PQTabletConfig: {PartitionConfig { LifetimeSeconds : 10}}"
);

TestDescribeResult(DescribePath(runtime, "/MyRoot/DirA/PQGroup_1", true),
{NLs::PathsInsideDomain(4),
NLs::ShardsInsideDomain(18),
NLs::PathVersionEqual(1),
NLs::NotFinished});

TActorId sender = runtime.AllocateEdgeActor();
RebootTablet(runtime, TTestTxConfig::SchemeShard, sender);

env.TestWaitNotification(runtime, txId);

TestDescribeResult(DescribePath(runtime, "/MyRoot/DirA/PQGroup_1", true),
{NLs::CheckPartCount("PQGroup_1", 100, 10, 10, 100),
NLs::PathsInsideDomain(4),
Expand Down Expand Up @@ -6863,7 +6852,7 @@ Y_UNIT_TEST_SUITE(TSchemeShardTest) {
AsyncForceDropUnsafe(runtime, ++txId, pVer.PathId.LocalPathId);

TestModificationResult(runtime, txId-2, NKikimrScheme::StatusAccepted);
TestModificationResult(runtime, txId-1, NKikimrScheme::StatusMultipleModifications);
TestModificationResult(runtime, txId-1, NKikimrScheme::StatusAccepted);
TestModificationResult(runtime, txId, NKikimrScheme::StatusAccepted);

TActorId sender = runtime.AllocateEdgeActor();
Expand Down

0 comments on commit 96c9390

Please sign in to comment.