@@ -61,7 +61,7 @@ TResultOrError<TDiskRegistryState::TAllocateDiskResult> AllocateDisk(
61
61
return result;
62
62
}
63
63
64
- TVector<NProto::TAgentConfig> GetSeveralAgents ()
64
+ TVector<NProto::TAgentConfig> CreateSeveralAgents ()
65
65
{
66
66
return {
67
67
AgentConfig (
@@ -78,7 +78,7 @@ TVector<NProto::TAgentConfig> GetSeveralAgents()
78
78
})};
79
79
}
80
80
81
- TDiskRegistryState GetTestState (const TVector<NProto::TAgentConfig>& agents)
81
+ TDiskRegistryState CreateTestState (const TVector<NProto::TAgentConfig>& agents)
82
82
{
83
83
return TDiskRegistryStateBuilder ()
84
84
.WithKnownAgents (agents)
@@ -1170,9 +1170,9 @@ Y_UNIT_TEST_SUITE(TDiskRegistryStateMigrationTest)
1170
1170
TTestExecutor executor;
1171
1171
executor.WriteTx ([&](TDiskRegistryDatabase db) { db.InitSchema (); });
1172
1172
1173
- const TVector agents = GetSeveralAgents ();
1173
+ const TVector agents = CreateSeveralAgents ();
1174
1174
1175
- TDiskRegistryState state = GetTestState (agents);
1175
+ TDiskRegistryState state = CreateTestState (agents);
1176
1176
1177
1177
UNIT_ASSERT_VALUES_EQUAL (0 , state.BuildMigrationList ().size ());
1178
1178
UNIT_ASSERT (state.IsMigrationListEmpty ());
@@ -1225,7 +1225,6 @@ Y_UNIT_TEST_SUITE(TDiskRegistryStateMigrationTest)
1225
1225
[&](TDiskRegistryDatabase db)
1226
1226
{
1227
1227
auto [result, error] = AllocateDisk (db, state, " disk-1" );
1228
- ;
1229
1228
UNIT_ASSERT_SUCCESS (error);
1230
1229
1231
1230
UNIT_ASSERT_VALUES_EQUAL (2 , result.Devices .size ());
@@ -1299,9 +1298,9 @@ Y_UNIT_TEST_SUITE(TDiskRegistryStateMigrationTest)
1299
1298
TTestExecutor executor;
1300
1299
executor.WriteTx ([&](TDiskRegistryDatabase db) { db.InitSchema (); });
1301
1300
1302
- const TVector agents = GetSeveralAgents ();
1301
+ const TVector agents = CreateSeveralAgents ();
1303
1302
1304
- TDiskRegistryState state = GetTestState (agents);
1303
+ TDiskRegistryState state = CreateTestState (agents);
1305
1304
1306
1305
UNIT_ASSERT_VALUES_EQUAL (0 , state.BuildMigrationList ().size ());
1307
1306
UNIT_ASSERT (state.IsMigrationListEmpty ());
@@ -1348,7 +1347,6 @@ Y_UNIT_TEST_SUITE(TDiskRegistryStateMigrationTest)
1348
1347
[&](TDiskRegistryDatabase db)
1349
1348
{
1350
1349
auto [result, error] = AllocateDisk (db, state, " disk-1" );
1351
- ;
1352
1350
UNIT_ASSERT_SUCCESS (error);
1353
1351
1354
1352
UNIT_ASSERT_VALUES_EQUAL (2 , result.Devices .size ());
@@ -1420,9 +1418,9 @@ Y_UNIT_TEST_SUITE(TDiskRegistryStateMigrationTest)
1420
1418
TTestExecutor executor;
1421
1419
executor.WriteTx ([&](TDiskRegistryDatabase db) { db.InitSchema (); });
1422
1420
1423
- const TVector agents = GetSeveralAgents ();
1421
+ const TVector agents = CreateSeveralAgents ();
1424
1422
1425
- TDiskRegistryState state = GetTestState (agents);
1423
+ TDiskRegistryState state = CreateTestState (agents);
1426
1424
1427
1425
UNIT_ASSERT_VALUES_EQUAL (0 , state.BuildMigrationList ().size ());
1428
1426
UNIT_ASSERT (state.IsMigrationListEmpty ());
@@ -1475,7 +1473,6 @@ Y_UNIT_TEST_SUITE(TDiskRegistryStateMigrationTest)
1475
1473
[&](TDiskRegistryDatabase db)
1476
1474
{
1477
1475
auto [result, error] = AllocateDisk (db, state, " disk-1" );
1478
- ;
1479
1476
UNIT_ASSERT_SUCCESS (error);
1480
1477
1481
1478
UNIT_ASSERT_VALUES_EQUAL (2 , result.Devices .size ());
@@ -1544,9 +1541,9 @@ Y_UNIT_TEST_SUITE(TDiskRegistryStateMigrationTest)
1544
1541
TTestExecutor executor;
1545
1542
executor.WriteTx ([&](TDiskRegistryDatabase db) { db.InitSchema (); });
1546
1543
1547
- const TVector agents = GetSeveralAgents ();
1544
+ const TVector agents = CreateSeveralAgents ();
1548
1545
1549
- TDiskRegistryState state = GetTestState (agents);
1546
+ TDiskRegistryState state = CreateTestState (agents);
1550
1547
1551
1548
UNIT_ASSERT_VALUES_EQUAL (0 , state.BuildMigrationList ().size ());
1552
1549
UNIT_ASSERT (state.IsMigrationListEmpty ());
@@ -1599,7 +1596,6 @@ Y_UNIT_TEST_SUITE(TDiskRegistryStateMigrationTest)
1599
1596
[&](TDiskRegistryDatabase db)
1600
1597
{
1601
1598
auto [result, error] = AllocateDisk (db, state, " disk-1" );
1602
- ;
1603
1599
UNIT_ASSERT_SUCCESS (error);
1604
1600
1605
1601
UNIT_ASSERT_VALUES_EQUAL (2 , result.Devices .size ());
0 commit comments