[ovs-git] [openvswitch/ovs] 839498: tests: Add a default timeout for control utilities

GitHub noreply at github.com
Tue Oct 31 22:32:08 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 83949879b3952409a30bac6d221e44117b35f994
      https://github.com/openvswitch/ovs/commit/83949879b3952409a30bac6d221e44117b35f994
  Author: Alin Gabriel Serdean <aserdean at ovn.org>
  Date:   2017-10-31 (Tue, 31 Oct 2017)

  Changed paths:
    M tests/ovs-macros.at

  Log Message:
  -----------
  tests: Add a default timeout for control utilities

Let's suppose that ovsdb-server is running properly, but ovs-vswitchd
is not responsive/crashed. We try to add a port via ovs-vsctl and it will
hang.
This patch aims at that scenario and tries to make life easier when
debugging hanging tests.

Some shells do not allow dashes in function names (default behavior),
we shall try to define an alias to overcome dashes if the shell allows it.

Signed-off-by: Alin Gabriel Serdean <aserdean at ovn.org>
Suggested-by: Ben Pfaff <blp at ovn.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list