Remove Lucas's tests
MODIFY
WalletWasabi.Tests/StoreTests.cs
WalletWasabi.Tests/StoreTests.cs
@@ -297,75 +297,5 @@ namespace WalletWasabi.Tests
ioman1.DeleteMe();
}
-
- [Fact]
- public async Task IoTestsAsync()
- {
- var file1 = Path.Combine(Global.DataDir, nameof(IoTestsAsync), "file.dat");
-
- IoManager ioman1 = new IoManager(file1);
- ioman1.DeleteMe();
- await ioman1.WriteAllLinesAsync(new string[0]);
-
- var rnd = new Random();
- string RandomString()
- {
- StringBuilder builder = new StringBuilder();
- char ch;
- for (int i = 0; i < rnd.Next(10, 1000); i++)
- {
- ch = Convert.ToChar(Convert.ToInt32(Math.Floor(26 * rnd.NextDouble() + 65)));
- builder.Append(ch);
- }
- return builder.ToString();
- };
-
- var list = new List<string>();
- async Task WriteNextLineAsync()
- {
- var next = RandomString();
- lock (list)
- {
- list.Add(next);
- }
- using (await ioman1.Mutex.LockAsync())
- {
- var lines = (await ioman1.ReadAllLinesAsync()).ToList();
- lines.Add(next);
- await ioman1.WriteAllLinesAsync(lines);
- }
- };
-
- var t1 = new Thread(async () =>
- {
- for (var i = 0; i < 1000; i++)
- {
- await WriteNextLineAsync();
- }
- });
- var t2 = new Thread(async () =>
- {
- for (var i = 0; i < 1000; i++)
- {
- await WriteNextLineAsync();
- }
- });
- var t3 = new Thread(async () =>
- {
- for (var i = 0; i < 1000; i++)
- {
- await WriteNextLineAsync();
- }
- });
- t1.Start();
- t2.Start();
- t3.Start();
- t1.Join();
- t2.Join();
- t3.Join();
- var allLines = File.ReadAllLines(file1);
- var diff = allLines.Except(list);
- Assert.Empty(diff);
- }
}
}

Remove Lucas's tests