[ovs-git] [ovn-org/ovn] 416907: ovn.at: Fix test "virtual ports -- ovn-northd-ddlog".

Han Zhou noreply at github.com
Thu Jun 24 21:47:40 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: 416907cd9f5a163f9b089101c15eb08fb7dee2d6
      https://github.com/ovn-org/ovn/commit/416907cd9f5a163f9b089101c15eb08fb7dee2d6
  Author: Han Zhou <hzhou at ovn.org>
  Date:   2021-06-24 (Thu, 24 Jun 2021)

  Changed paths:
    M tests/ovn.at

  Log Message:
  -----------
  ovn.at: Fix test "virtual ports -- ovn-northd-ddlog".

The test case fails quite often for northd-ddlog because of the tunnel
keys mismatch when comparing OpenFlow rules. Keys can change in
different runs. This patch fixes it by extracting the expected keys from
SB DB before comparison instead of hardcoding.

There are some other potential timing issues in this test and this
patch fixes them as well by replacing AT_CHECK with wait_column.

Acked-by: Ben Pfaff <blp at ovn.org>
Signed-off-by: Han Zhou <hzhou at ovn.org>




More information about the git mailing list