mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
Tests: wait 1 second between each test to avoid possible hangs
This commit is contained in:
parent
90aef81908
commit
99aa273d55
|
|
@ -15,6 +15,13 @@ namespace TgSharp.Tests
|
|||
base.Init(o => Assert.IsNotNull(o), b => Assert.IsTrue(b));
|
||||
}
|
||||
|
||||
[SetUp]
|
||||
public void DummyWait()
|
||||
{
|
||||
// if we don't wait a bit between tests, they could hang...
|
||||
System.Threading.Thread.Sleep(TimeSpan.FromSeconds(1.0));
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Ignore("Only run again when you want a new CodeToAuthenticate value in your app.config")]
|
||||
public async override Task AuthUser()
|
||||
|
|
|
|||
Loading…
Reference in a new issue