On Thu, Sep 19, 2019 at 2:49 PM Richard W.M. Jones <rjones@redhat.com> wrote:
On Thu, Sep 19, 2019 at 01:47:45PM +0200, Nenad Peric wrote:
> A theoretical way to test this against any other protocol is to have a
> firewall rule which can be triggered locally which just drops the traffic
> and then re-enables the traffic in a while (short or long, can be
> decided/tweaked).

We generally want our tests to run without root and without doing
weird stuff to the machine (they run from ‘make check’) so I'm afraid
updating firewall rules isn't going to work :-(

Well could this be tested in a QE environment, during QE verification? 
So those would not really be a part of 'make check' or automated dev tests.
Not sure how else to test weird behavior if we don't do weird things ;)

Cheers,

Nenad
 

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html