feat(applications): preserve submitted packages
This commit is contained in:
@@ -275,10 +275,12 @@ public sealed class AttachmentConsistencyTests
|
||||
public bool FailPromote { get; init; }
|
||||
public bool FailDeletePurge { get; init; }
|
||||
public string CreateFinalPath(int jobId, string storedFileName) => inner.CreateFinalPath(jobId, storedFileName);
|
||||
public string CreatePackagePath(int jobId, int packageVersion, string storedFileName) => inner.CreatePackagePath(jobId, packageVersion, storedFileName);
|
||||
public string StagePath(string finalPath) => inner.StagePath(finalPath);
|
||||
public string DeletePath(string finalPath) => inner.DeletePath(finalPath);
|
||||
public bool IsManagedPath(string path) => inner.IsManagedPath(path);
|
||||
public Task StageAsync(IFormFile file, string stagePath, CancellationToken cancellationToken) => inner.StageAsync(file, stagePath, cancellationToken);
|
||||
public Task<StoredSnapshotFile> SnapshotAsync(string sourcePath, string destinationPath, CancellationToken cancellationToken) => inner.SnapshotAsync(sourcePath, destinationPath, cancellationToken);
|
||||
public void Promote(string stagePath, string finalPath)
|
||||
{
|
||||
if (FailPromote) throw new IOException("Synthetic promotion failure.");
|
||||
|
||||
Reference in New Issue
Block a user