mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-05-26 02:59:26 +00:00
change expected 404 message for downloading non-existent cid
This commit is contained in:
parent
ba9822d0e2
commit
309e699d02
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user