private send_unsplittable_oversized_udp_packets_are_not_split_or_sent_and_no_exception_is_raised ( ) : void | ||
return | void |
public void send_unsplittable_oversized_udp_packets_are_not_split_or_sent_and_no_exception_is_raised()
{
// This message will be one byte longer than the theoretical limit of a UDP packet
var msg = new String('f', 65508);
listenThread.Start();
statsd.Add<Statsd.Counting>(msg, 1);
statsd.Send();
// It shouldn't be split or sent, and no exceptions should be raised.
AssertWasReceived(null);
}