X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=tests%2Fovn-nbctl.at;h=efad8a299bb27789af03bf58d504b5a424c041cb;hb=fb496f92ca1eeead8760b5cdfd857165f64deadf;hp=5358f1e196ffb6aca350a66c29405209785a608c;hpb=15a0ca65f341c2298e571052eb68d8a282e853a5;p=cascardo%2Fovs.git diff --git a/tests/ovn-nbctl.at b/tests/ovn-nbctl.at index 5358f1e19..efad8a299 100644 --- a/tests/ovn-nbctl.at +++ b/tests/ovn-nbctl.at @@ -16,7 +16,15 @@ m4_define([OVN_NBCTL_TEST_START], # OVN_NBCTL_TEST_STOP m4_define([OVN_NBCTL_TEST_STOP], - [AT_CHECK([check_logs $1]) + [# removes all 'Broken pipe' warning logs from ovsdb-server.log. this is in + # that *ctl command (e.g. ovn-nbctl) exits right after committing the change + # to database. however, in reaction, some daemon (e.g. ovn-controller-vtep) + # may immediately update the database. this later update may cause database + # sending update back to *ctl command if *ctl has not proceeded to exit yet. + # and if *ctl command exits before database calling send, the send from + # database will fail with 'Broken pipe' error. + AT_CHECK([check_logs "$1 +/Broken pipe/d"]) AT_CHECK([ovs-appctl -t ovsdb-server exit])])