Skip to content
Permalink
Browse files

[changelog skip] Fix fails in SwarmTest.Preload

  • Loading branch information...
moreal committed Aug 14, 2019
1 parent af529f4 commit 902625bef398a0dee55c0faea5acdc94b1687a33
Showing with 3 additions and 1 deletion.
  1. +2 −1 Libplanet.Tests/Net/SwarmTest.cs
  2. +1 −0 Libplanet/Net/Swarm.cs
@@ -1073,7 +1073,8 @@ public async Task Preload()
ExecutedBlockCount = i + 1,
})).ToArray();

Assert.Equal(expectedStates, actualStates);
Assert.True(expectedStates.ToImmutableHashSet()
.SetEquals(actualStates.ToImmutableHashSet()));
}
finally
{
@@ -558,6 +558,7 @@ public void BroadcastTxs(IEnumerable<Transaction<T>> txs)
);
}

// FIXME: It is not guaranteed that states will be reported in order. see issue #436, #430
internal async Task PreloadAsync(
bool render,
IProgress<PreloadState> progress = null,

0 comments on commit 902625b

Please sign in to comment.
You can’t perform that action at this time.