Skip to content

Commit

Permalink
change to get unit test more stable..not sure if this is correct appr…
Browse files Browse the repository at this point in the history
…oach tho
  • Loading branch information
Tom Gardham-Pallister committed May 3, 2018
1 parent 06148c6 commit 1ef1bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Rafty.UnitTests/LeaderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ bool SecondTest(List<PeerState> peerState)
}

//send another command, this wont get commited because the guys are replying false
task = Task.Run(() => leader.Accept(new FakeCommand()));
task = Task.Run(async () => await leader.Accept(new FakeCommand()));
bool ThirdTest(List<PeerState> peerState)
{
var passed = 0;
Expand Down

0 comments on commit 1ef1bcf

Please sign in to comment.