Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#296 fix TestIPFilterRuleHandler
Browse files Browse the repository at this point in the history
fsl5987 committed Dec 4, 2017
1 parent 83da141 commit 6b061a8
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
@@ -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);

0 comments on commit 6b061a8

Please sign in to comment.