-
Notifications
You must be signed in to change notification settings - Fork 702
Open
Labels
area/schemeshardIssues related to Scheme Shard system tabletIssues related to Scheme Shard system tablet
Description
Y_UNIT_TEST_SUITE(TIncrementalRestoreTestsWithReboots) {
Y_UNIT_TEST_WITH_REBOOTS(CopyTableChangeStateSupport) {
TTestWithReboots t(true);
t.Run([&](TTestActorRuntime& runtime, bool& activeZone) {
{
TInactiveZone inactive(activeZone);
TestCreateTable(runtime, ++t.TxId, "/MyRoot",
R"(
Name: "src1"
Columns { Name: "key" Type: "Uint64" }
Columns { Name: "value0" Type: "Utf8" }
KeyColumnNames: ["key"]
)"),
t.TestEnv->TestWaitNotification(runtime, t.TxId);
}
TestConsistentCopyTables(runtime, ++t.TxId, "/", R"(
CopyTableDescriptions {
SrcPath: "/MyRoot/src1"
DstPath: "/MyRoot/dst1"
}
)");
t.TestEnv->TestWaitNotification(runtime, t.TxId);
{
TInactiveZone inactive(activeZone);
TestDescribeResult(DescribePath(runtime, "/MyRoot/dst1"),
{NLs::PathExist});
}
});
}
}
Metadata
Metadata
Labels
area/schemeshardIssues related to Scheme Shard system tabletIssues related to Scheme Shard system tablet