Page MenuHomePhabricator

Formalize some more Drydock conditions and bookkeeping
ClosedPublic

Authored by epriestley on May 9 2022, 5:09 PM.
Tags
None
Referenced Files
F15472312: D21806.diff
Sat, Apr 5, 12:38 PM
F15467549: D21806.id51980.diff
Thu, Apr 3, 4:04 PM
F15458509: D21806.diff
Mon, Mar 31, 4:10 AM
F15455602: D21806.id51976.diff
Sun, Mar 30, 3:30 AM
F15452825: D21806.id51980.diff
Sat, Mar 29, 7:32 AM
F15452817: D21806.id51976.diff
Sat, Mar 29, 7:28 AM
F15452807: D21806.id.diff
Sat, Mar 29, 7:25 AM
F15443186: D21806.id51980.diff
Thu, Mar 27, 2:55 AM
Subscribers
Restricted Owners Package

Details

Summary

Ref T13677. Track which resources a given lease has begun allocating or reclaiming in a more formal way, and add logging for waiting actions.

The "allocating" mechanism is new. This will replace an existing similar "reclaiming" mechanism in a future change.

Test Plan

See followup changes.

Diff Detail

Repository
rP Phabricator
Branch
drydock-2
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 25701
Build 35529: arc lint + arc unit

Unit TestsFailed

TimeTest
470 msPhabricatorLibraryTestCase::testLibraryMap
Assertion failed, expected 'true' (at PhutilLibraryTestCase.php:51): The library map is out of date. Rebuild it with `arc liberate`. These entries differ: class.DrydockLeaseWaitingForActivationLogType, class.DrydockLeaseWaitingForReclamationLogType, xmap.DrydockLeaseWaitingForActivationLogType, xmap.DrydockLeaseWaitingForReclamationLogType.
5 msDrydockBlueprintImplementationTestCase::testGetAllBlueprintImplementations
1 assertion passed.
210 msPhabricatorCelerityTestCase::testCelerityMaps
3 assertions passed.
10 msPhabricatorConduitTestCase::testConduitMethods
1 assertion passed.
0 msPhabricatorInfrastructureTestCase::testApplicationsInstalled
1 assertion passed.
View Full Test Results (1 Failed · 7 Passed)