Skip to content

Commit 537898a

Browse files
committed
fix tests
1 parent dfc47c6 commit 537898a

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

ydb/core/tx/schemeshard/ut_replication/ut_replication.cpp

+9-9
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,15 @@ Y_UNIT_TEST_SUITE(TReplicationTests) {
259259
Paused {
260260
}
261261
}
262-
)", {NKikimrScheme::StatusInvalidParameter});
262+
)");
263+
264+
TestAlterReplication(runtime, ++txId, "/MyRoot", R"(
265+
Name: "Replication"
266+
State {
267+
StandBy {
268+
}
269+
}
270+
)");
263271

264272
TestAlterReplication(runtime, ++txId, "/MyRoot", R"(
265273
Name: "Replication"
@@ -275,14 +283,6 @@ Y_UNIT_TEST_SUITE(TReplicationTests) {
275283
NLs::PathExist,
276284
NLs::ReplicationState(NKikimrReplication::TReplicationState::kDone),
277285
});
278-
279-
TestAlterReplication(runtime, ++txId, "/MyRoot", R"(
280-
Name: "Replication"
281-
State {
282-
StandBy {
283-
}
284-
}
285-
)", {NKikimrScheme::StatusInvalidParameter});
286286
}
287287

288288
Y_UNIT_TEST(Describe) {

ydb/core/tx/schemeshard/ut_transfer/ut_transfer.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -384,15 +384,15 @@ Y_UNIT_TEST_SUITE(TTransferTests) {
384384
Paused {
385385
}
386386
}
387-
)", {NKikimrScheme::StatusInvalidParameter});
387+
)");
388388

389389
TestAlterTransfer(runtime, ++txId, "/MyRoot", R"(
390390
Name: "Transfer"
391391
State {
392392
StandBy {
393393
}
394394
}
395-
)", {NKikimrScheme::StatusInvalidParameter});
395+
)");
396396
}
397397

398398
} // TTransferTests

0 commit comments

Comments
 (0)