Host startup failure names the escaped exception type; test cleanup warns when it cannot delete
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
739e2bd93e
commit
9ce4eb8d06
2 changed files with 4 additions and 2 deletions
|
|
@ -77,6 +77,8 @@ public sealed class ClientRuntimeLoaderTrustTests : IDisposable
|
|||
Thread.Sleep(100);
|
||||
}
|
||||
}
|
||||
|
||||
Console.Error.WriteLine($"Warning: test cleanup could not delete (locked loaded assembly?): {ClientRuntimeLoader.Printable(work)}");
|
||||
}
|
||||
|
||||
// A real client assembly: the minimal sample, copied so its location is ours to choose.
|
||||
|
|
@ -389,7 +391,7 @@ public sealed class ClientRuntimeLoaderTrustTests : IDisposable
|
|||
var errors = CaptureError(() => exit = AquariumHost.Run(["--headless", "--client-trusted-root", volumeRoot]));
|
||||
|
||||
Assert.Equal(1, exit);
|
||||
Assert.Contains("Client runtime failed to start.", errors);
|
||||
Assert.Contains("Client runtime failed to start (System.ArgumentException).", errors);
|
||||
Assert.Contains("cannot be the client runtime trusted root", errors);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue