Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: ovsdb-server: Fix config-file same schema test.
When a configuration file is used the ovsdb-server (re-)configures databases in multiple passes. First the configuration file is read and a shash is populated, second the shash is iterated over to remove/create databases. The "ovsdb-server config-file - same schema" test currently relies on a certain ordering of this shash, but we can't really rely on a specific ordering as it would be environment specific. The test currently fails on big endian systems such as s390x with: -WARN|failed to open database 'db2': ovsdb error: ordinals: duplicate database name +WARN|failed to open database 'db': ovsdb error: ordinals: duplicate database name Normalize the logged database name so that the test can focus on the fact that duplication is detected rather than in which order. Fixes: 5514009 ("ovsdb-server: Allow user-provided config files.") Acked-by: Simon Horman <[email protected]> Signed-off-by: Frode Nordahl <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
- Loading branch information