@@ -1275,7 +1275,7 @@ Y_UNIT_TEST_SUITE(TPDiskTest) {
1275
1275
const ui32 firstNodeId = testCtx.GetRuntime ()->GetFirstNodeId ();
1276
1276
auto pdiskConfig = testCtx.GetPDiskConfig ();
1277
1277
using TColor = NKikimrBlobStorage::TPDiskSpaceColor;
1278
- pdiskConfig->SpaceColorBorder = TColor::YELLOW ;
1278
+ pdiskConfig->SpaceColorBorder = TColor::ORANGE ;
1279
1279
testCtx.UpdateConfigRecreatePDisk (pdiskConfig);
1280
1280
// The actual value of SharedQuota.HardLimit internally initialized in TActorTestContext
1281
1281
// Feel free to update if some day it changes
@@ -1329,7 +1329,7 @@ Y_UNIT_TEST_SUITE(TPDiskTest) {
1329
1329
}
1330
1330
vdisk0.CommitReservedChunks ();
1331
1331
1332
- CheckEvCheckSpace (testCtx, vdisk0, sharedFree, fairQuota, vdisk0Used, 2 , 3 , TColor::YELLOW );
1332
+ CheckEvCheckSpace (testCtx, vdisk0, sharedFree, fairQuota, vdisk0Used, 2 , 3 , TColor::ORANGE );
1333
1333
CheckEvCheckSpace (testCtx, vdisk1, sharedFree, fairQuota*2 , 0 , 2 , 3 , TColor::GREEN);
1334
1334
1335
1335
// State 4:
@@ -1363,10 +1363,19 @@ Y_UNIT_TEST_SUITE(TPDiskTest) {
1363
1363
1364
1364
fairQuota = sharedQuota / 4 ;
1365
1365
UNIT_ASSERT_VALUES_EQUAL (vdisk0Used, fairQuota);
1366
- CheckEvCheckSpace (testCtx, vdisk0, sharedFree, fairQuota, vdisk0Used, 3 , 4 , TColor::YELLOW );
1366
+ CheckEvCheckSpace (testCtx, vdisk0, sharedFree, fairQuota, vdisk0Used, 3 , 4 , TColor::ORANGE );
1367
1367
CheckEvCheckSpace (testCtx, vdisk1, sharedFree, fairQuota, 0 , 3 , 4 , TColor::GREEN);
1368
1368
CheckEvCheckSpace (testCtx, vdisk2, sharedFree, fairQuota*2 , 0 , 3 , 4 , TColor::GREEN);
1369
1369
1370
+ auto &icb = testCtx.GetRuntime ()->GetAppData ().Icb ;
1371
+ TControlWrapper semiStrictSpaceIsolation (0 , 0 , 2 );
1372
+ TControlBoard::RegisterSharedControl (semiStrictSpaceIsolation, icb->PDiskControls .SemiStrictSpaceIsolation );
1373
+ semiStrictSpaceIsolation = 1 ;
1374
+ CheckEvCheckSpace (testCtx, vdisk0, sharedFree, fairQuota, vdisk0Used, 3 , 4 , TColor::LIGHT_YELLOW);
1375
+ semiStrictSpaceIsolation = 2 ;
1376
+ CheckEvCheckSpace (testCtx, vdisk0, sharedFree, fairQuota, vdisk0Used, 3 , 4 , TColor::YELLOW);
1377
+ semiStrictSpaceIsolation = 0 ;
1378
+
1370
1379
// State 6:
1371
1380
// Owners.GroupSizeInUnits: [0u, 2u, 1u]
1372
1381
// Owners.GroupSizeInUnits: [1, 1, 1]
@@ -1399,7 +1408,7 @@ Y_UNIT_TEST_SUITE(TPDiskTest) {
1399
1408
1400
1409
fairQuota = sharedQuota / 8 ;
1401
1410
UNIT_ASSERT_VALUES_EQUAL (vdisk0Used, fairQuota*2 );
1402
- CheckEvCheckSpace (testCtx, vdisk0, sharedFree, fairQuota, vdisk0Used, 3 , 4 , TColor::YELLOW );
1411
+ CheckEvCheckSpace (testCtx, vdisk0, sharedFree, fairQuota, vdisk0Used, 3 , 4 , TColor::ORANGE );
1403
1412
CheckEvCheckSpace (testCtx, vdisk1, sharedFree, fairQuota*2 , 0 , 3 , 4 , TColor::GREEN);
1404
1413
CheckEvCheckSpace (testCtx, vdisk2, sharedFree, fairQuota, 0 , 3 , 4 , TColor::GREEN);
1405
1414
0 commit comments