[ovs-git] [openvswitch/ovs] 2906ff: tests/stp: Use long warps instead of multiple call...

GitHub noreply at github.com
Wed Oct 25 04:02:11 UTC 2017


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: 2906ff5e7eb1fb39b497dc05e471b6e58e255f44
      https://github.com/openvswitch/ovs/commit/2906ff5e7eb1fb39b497dc05e471b6e58e255f44
  Author: Ilya Maximets <i.maximets at samsung.com>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M tests/stp.at

  Log Message:
  -----------
  tests/stp: Use long warps instead of multiple calls.

This change fixes constant test failure on RHEL 7 system with
CFLAGS='-march=native':
>---------------------------------------------------------------<
 2222: STP - flush the fdb and mdb when topology changed  FAILED
 ...
 ./stp.at:609: ovs-appctl fdb/show br0
 --- -
 +++ ./tests/testsuite.dir/at-groups/2222/stdout
 @@ -1,2 +1,3 @@
   port  VLAN  MAC                Age
   +LOCAL     1  00:0c:29:a0:27:d1   33
>---------------------------------------------------------------<

Long warps takes threads a chance to perform some work on each
step unlike multiple appctl calls. Also, code looks cleaner and
works faster.

CC: Tonghao Zhang <xiangxia.m.yue at gmail.com>
Fixes: 427e9751f300 ("tests: Add and improve stp tests.")
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list