diff options
author | Ben Pfaff <blp@nicira.com> | 2010-02-02 14:31:36 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-02-02 15:21:09 -0800 |
commit | 28447a186b017471dc00ed41ab832dc566d7bebd (patch) | |
tree | 3d7c13d674f959b371bd15b63c9debe44fbc3a2e /tests | |
parent | 7c126fbb8a0589f2a29f3e7c520723a2d74b254e (diff) |
tests: Fix timing dependency in ovsdb-log test.
The "lockfile" module logs a message if locking takes a measurable amount
of time. Running the tests under valgrind tends to make this message
appear, so we need to disable it to make the output comparison come out
cleanly.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ovsdb-log.at | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ovsdb-log.at b/tests/ovsdb-log.at index 6f00e885..8aeb33b5 100644 --- a/tests/ovsdb-log.at +++ b/tests/ovsdb-log.at @@ -46,7 +46,7 @@ AT_CHECK( file: read: [1] ]], [ignore]) AT_CHECK( - [test-ovsdb log-io file 'O_CREAT|O_RDWR|O_EXCL' read], [1], + [test-ovsdb -vlockfile:console:emer log-io file 'O_CREAT|O_RDWR|O_EXCL' read], [1], [], [test-ovsdb: I/O error: create: file failed (File exists) ]) AT_CHECK([test -f .file.~lock~]) |