Skip to content

Commit

Permalink
Ignore the failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed May 13, 2019
1 parent ffc0d1d commit 8932b7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions Tests/Realm.Tests/Sync/SessionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public void Session_Error_ShouldPassCorrectSession()
}

[Test]
[Ignore("This is no longer relevant with the automatic client reset recovery.")]
public void Session_DivergingHistories_ShouldRaiseClientResetException()
{
TestHelpers.RunAsyncTest(async () =>
Expand Down
7 changes: 1 addition & 6 deletions Tests/Realm.Tests/Sync/SyncTestHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,6 @@ public static async Task<FullSyncConfiguration> GetIntegrationConfigAsync(string
EventHandler<ErrorEventArgs> handler = null;
handler = new EventHandler<ErrorEventArgs>((sender, e) =>
{
if (!(e.Exception is T))
{
return;
}
try
{
Assert.That(sender, Is.TypeOf<Session>());
Expand All @@ -144,7 +139,7 @@ public static async Task<FullSyncConfiguration> GetIntegrationConfigAsync(string

session.SimulateError(code, message);

return tcs.Task.Timeout(2000);
return tcs.Task;
}

public static Task WaitForUploadAsync(Realm realm) => WaitForSyncAsync(realm, upload: true, download: false);
Expand Down

0 comments on commit 8932b7f

Please sign in to comment.