change expected 404 message for downloading non-existent cid

This commit is contained in:
E M 2026-05-01 16:15:06 +10:00
parent ba9822d0e2
commit 309e699d02
No known key found for this signature in database

View File

@ -23,8 +23,8 @@ namespace LogosStorageReleaseTests.DataTests
}
catch (Exception ex)
{
var expectedMessage = $"Download of '{unknownCid.Id}' timed out";
if (!ex.Message.StartsWith(expectedMessage)) throw;
var expectedMessage = "Content specified by the CID is not found";
if (!ex.Message.Contains(expectedMessage)) throw;
}
WaitAndCheckNodesStaysAlive(TimeSpan.FromMinutes(2), node);