Merge branch 'main' of https://git.stella-ops.org/stella-ops.org/git.stella-ops.org
This commit is contained in:
@@ -73,6 +73,7 @@ public sealed class BundleIngestionStepExecutorTests
|
||||
public async Task ExecuteAsync_MissingChecksum_Fails()
|
||||
{
|
||||
using var temp = new TempDirectory();
|
||||
using StellaOps.TestKit;
|
||||
var source = Path.Combine(temp.Path, "bundle.tgz");
|
||||
var ct = TestContext.Current.CancellationToken;
|
||||
await File.WriteAllTextAsync(source, "bundle-data", ct);
|
||||
|
||||
@@ -25,6 +25,7 @@ public sealed class FilesystemPackRunArtifactReaderTests
|
||||
public async Task ListAsync_ParsesManifestAndSortsByName()
|
||||
{
|
||||
using var temp = new TempDir();
|
||||
using StellaOps.TestKit;
|
||||
var runId = "run-1";
|
||||
var manifestPath = Path.Combine(temp.Path, "run-1", "artifact-manifest.json");
|
||||
Directory.CreateDirectory(Path.GetDirectoryName(manifestPath)!);
|
||||
|
||||
@@ -30,6 +30,7 @@ public sealed class PackRunProvenanceWriterTests
|
||||
Assert.True(File.Exists(path));
|
||||
|
||||
using var document = JsonDocument.Parse(await File.ReadAllTextAsync(path, ct));
|
||||
using StellaOps.TestKit;
|
||||
var root = document.RootElement;
|
||||
Assert.Equal("run-test", root.GetProperty("runId").GetString());
|
||||
Assert.Equal("tenant-alpha", root.GetProperty("tenantId").GetString());
|
||||
|
||||
@@ -59,6 +59,7 @@ public sealed class TaskRunnerClientTests
|
||||
""";
|
||||
using var stream = new MemoryStream(Encoding.UTF8.GetBytes(ndjson));
|
||||
|
||||
using StellaOps.TestKit;
|
||||
var entries = await StreamingLogReader.CollectAsync(stream, ct);
|
||||
|
||||
Assert.Equal(2, entries.Count);
|
||||
|
||||
Reference in New Issue
Block a user