ci: add bounded complete release gate
This commit is contained in:
parent
0a934cf578
commit
2ac054864d
11 changed files with 772 additions and 102 deletions
|
|
@ -750,7 +750,18 @@ public sealed class LauncherProcessSupervisorTests
|
|||
{
|
||||
try
|
||||
{
|
||||
last = await File.ReadAllTextAsync(path);
|
||||
// This is a live-file poll, not a post-close read. Match
|
||||
// the production status tailer's sharing contract so the
|
||||
// assertion cannot transiently deny the stderr callback's
|
||||
// final append and make the no-throw capture sink latch
|
||||
// itself off before the expected line arrives.
|
||||
using var stream = new FileStream(
|
||||
path,
|
||||
FileMode.Open,
|
||||
FileAccess.Read,
|
||||
FileShare.ReadWrite | FileShare.Delete);
|
||||
using var reader = new StreamReader(stream);
|
||||
last = await reader.ReadToEndAsync();
|
||||
if (last.Contains(expectedFragment, StringComparison.Ordinal))
|
||||
{
|
||||
return last;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue