Skip to content

Commit

Permalink
#296 fix TestIPFilterRuleHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank591 committed Nov 13, 2017
1 parent 5fc8c99 commit 8345ba9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/DotNetty.Handlers.Tests/IPSubnetFilterTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ public void TestIPFilterRuleHandler()
{
Assert.Equal(i, output.ReadByte());
}
//waiting finish of ContinueWith for chDeny.ChannelRejected
Thread.Sleep(300);
Assert.False(chDeny.Active);
Assert.False(chDeny.Open);
RuleBasedIPFilter allowHandler = new TestAllowFilter(filter0);
Expand Down

0 comments on commit 8345ba9

Please sign in to comment.