Reuse unchanged compiled runtime catalog
This commit is contained in:
parent
1747a8788e
commit
466d2bc8ab
4 changed files with 63 additions and 16 deletions
|
|
@ -5858,9 +5858,12 @@ internal sealed class AetheriaDaemonYmirSmokeChecks
|
|||
DockingMaxSizeY = 12
|
||||
}).GetAwaiter().GetResult();
|
||||
|
||||
AetheriaDaemonNativeCatalog.EnsureAsync(node).GetAwaiter().GetResult();
|
||||
Require(AetheriaDaemonNativeCatalog.EnsureAsync(node).GetAwaiter().GetResult(),
|
||||
"daemon-native catalog must report its first materialization");
|
||||
node.FlushAsync().GetAwaiter().GetResult();
|
||||
node.RefreshRuntimeCatalogAsync().GetAwaiter().GetResult();
|
||||
Require(!AetheriaDaemonNativeCatalog.EnsureAsync(node).GetAwaiter().GetResult(),
|
||||
"daemon-native catalog must not rewrite an unchanged generated revision");
|
||||
var catalog = node.RuntimeCatalog().Latest();
|
||||
var hull = catalog.FindItem(AetheriaDaemonNativeCatalog.DockyardHullItemKey);
|
||||
var bay = catalog.FindItem(AetheriaDaemonNativeCatalog.DockyardBayItemKey);
|
||||
|
|
|
|||
Loading…
Reference in a new issue