# HG changeset patch # User Augie Fackler # Date 2016-10-09 08:37:02 # Node ID bbbf6bbbd05f8d86e57d699870e30f5831917450 # Parent 932faa29b4c1f4c96aacfd4f720451df90bc58a6 test-clone: discard lock-related messages We can't predict where those will show up and they're not super-important for the contents of this particular test, so just drop them. Further reduces the flakiness of the test to zero. diff --git a/tests/test-clone.t b/tests/test-clone.t --- a/tests/test-clone.t +++ b/tests/test-clone.t @@ -1065,7 +1065,7 @@ don't care which is which, so we just ma one containing "new pooled" first, then one one containing "existing pooled". - $ grep 'new pooled' race1.log > /dev/null && cat race1.log || cat race2.log + $ (grep 'new pooled' race1.log > /dev/null && cat race1.log || cat race2.log) | grep -v lock (sharing from new pooled repository b5f04eac9d8f7a6a9fcb070243cccea7dc5ea0c1) requesting all changes adding changesets @@ -1078,10 +1078,8 @@ pooled". updating working directory 1 files updated, 0 files merged, 0 files removed, 0 files unresolved - $ grep 'existing pooled' race1.log > /dev/null && cat race1.log || cat race2.log + $ (grep 'existing pooled' race1.log > /dev/null && cat race1.log || cat race2.log) | grep -v lock (sharing from existing pooled repository b5f04eac9d8f7a6a9fcb070243cccea7dc5ea0c1) - waiting for lock on repository share-destrace2 held by * (glob) - got lock after \d+ seconds (re) searching for changes no changes found adding remote bookmark bookA