From 561369b72ceef420227d9e86e5955475a2a52f73 Mon Sep 17 00:00:00 2001 From: Alan McGovern Date: Fri, 8 Jul 2022 23:10:50 +0100 Subject: [PATCH] [core] Disable an unnecessary test --- .../MonoTorrent/TorrentCreatorTests.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Tests/Tests.MonoTorrent.Client/MonoTorrent/TorrentCreatorTests.cs b/src/Tests/Tests.MonoTorrent.Client/MonoTorrent/TorrentCreatorTests.cs index 9c6fec66a..e60374f7a 100644 --- a/src/Tests/Tests.MonoTorrent.Client/MonoTorrent/TorrentCreatorTests.cs +++ b/src/Tests/Tests.MonoTorrent.Client/MonoTorrent/TorrentCreatorTests.cs @@ -186,7 +186,12 @@ public async Task CreateV2Torrent () Assert.AreEqual (expected.Files[i].EndPieceIndex, actual.Files[i].EndPieceIndex); } } - +/* + * test disabled because it takes 10+ seconds to run. It used to validate + * that TorrentCreatore correctly handled files larger than 2GB, however + * all of that core reading/writing logic is handled by IPieceWriter/DiskManager + * now and so there's nothing really to test in this class. + * Disable the test but don't delete it... because maybe it's good? [Test] public async Task LargeMultiTorrent () { @@ -214,7 +219,7 @@ public async Task LargeMultiTorrent () Assert.AreEqual (name4, torrent.Files[3].Path, "#5"); Assert.AreEqual (name5, torrent.Files[4].Path, "#6"); } - +*/ [Test] public void IllegalDestinationPath () {