tests/test-http-bad-server.t
branchstable
changeset 32064 f82cdd5ee57e
parent 32024 ad41739c6b2b
child 32067 52cca17ac523
--- a/tests/test-http-bad-server.t	Thu Apr 20 21:40:28 2017 +0200
+++ b/tests/test-http-bad-server.t	Sat Apr 22 12:24:47 2017 -0400
@@ -48,9 +48,17 @@
   $ hg --config badserver.closeafteraccept=true serve -p $HGPORT -d --pid-file=hg.pid
   $ cat hg.pid > $DAEMON_PIDS
 
+TODO: this usually outputs good results, but sometimes emits abort:
+error: '' on FreeBSD and OS X.
+What we ideally want are:
+
+abort: error: Connection reset by peer (no-windows !)
+abort: error: An existing connection was forcibly closed by the remote host (windows !)
+
+The flakiness in this output was observable easily with
+--runs-per-test=20 on macOS 10.12 during the freeze for 4.2.
   $ hg clone http://localhost:$HGPORT/ clone
-  abort: error: Connection reset by peer (no-windows !)
-  abort: error: An existing connection was forcibly closed by the remote host (windows !)
+  abort: error: * (glob)
   [255]
 
   $ killdaemons.py $DAEMON_PIDS