mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 20:01:10 +00:00
Fixes cancellation test failing due to timing
This commit is contained in:
1 parent
309a8cb5c1
commit
da14fff1cb
1 file changed
+1
+1
@@ -209,6 +209,7 @@ public class FilesControllerTests : IClassFixture<LuminaApiFactory>
|
||||
);
|
||||
|
||||
// simulate cancellation before the request completes
|
||||
await Task.Delay(100);
|
||||
cts.Cancel();
|
||||
|
||||
HttpResponseMessage? response = null;
|
||||
|
||||
Reference in new issue
Block a user