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

Han Zhou noreply at github.com
Thu Jun 24 21:56:36 UTC 2021


  Branch: refs/heads/branch-21.06
  Home:   https://github.com/ovn-org/ovn
  Commit: 9e3404e03620f183adc4f05db13bf5a38618b757
      https://github.com/ovn-org/ovn/commit/9e3404e03620f183adc4f05db13bf5a38618b757
  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