[ovs-git] [openvswitch/ovs] 275f78: dpif-netdev.at: Wait for miss upcall log.

Ilya Maximets noreply at github.com
Thu Jul 23 17:21:56 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 275f78f95a827c80e2f17988f3e452fbbbb7a09a
      https://github.com/openvswitch/ovs/commit/275f78f95a827c80e2f17988f3e452fbbbb7a09a
  Author: Ilya Maximets <i.maximets at ovn.org>
  Date:   2020-07-23 (Thu, 23 Jul 2020)

  Changed paths:
    M tests/dpif-netdev.at

  Log Message:
  -----------
  dpif-netdev.at: Wait for miss upcall log.

Some tests checks for 'miss upcall' log in a log file immediately
after sending the packet, this causes test failures while running
them under valgrind or on the overloaded system.

Fix that by waiting for appearance of the actual string in the log
file.  Some other tests uses 'sleep 1' to fix that, but it's better
to wait for event than sleep for a specific amount of time.

Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
Signed-off-by: William Tu <u9012063 at gmail.com>




More information about the git mailing list