Subject: Re: bug#52194: 28.0.50; [PATCH] Put paid to a flappy test module

From: Robert Pluim <[email-masked]>
Date: Tue, 30 Nov 2021 11:33:21 +0100

>>>>> On Mon, 29 Nov 2021 20:38:05 -0500, [email-masked] said:

    dick> From 18e2cfa112c3393b4191bb3497bf9a0ae643c2a2 Mon Sep 17 00:00:00 2001
    dick> From: dickmao <[email-masked]>
    dick> Date: Mon, 29 Nov 2021 20:31:28 -0500
    dick> Subject: [PATCH] Don't repeat yourself (DRY)

I donʼt think that quite works:

make network-stream-tests
make[1]: Entering directory '/home/rpluim/repos/emacs-master/test'
  ELC      lisp/net/network-stream-tests.elc
  GEN      lisp/net/network-stream-tests.log
Running 27 tests (2021-11-30 11:26:04+0100, selector `(not (or (tag :unstable) (tag :nativecomp)))')
   passed   1/27  check-network-process-coding-system-bind (0.000158 sec)
   passed   2/27  check-network-process-coding-system-no-override (0.000087 sec)
   passed   3/27  check-network-process-coding-system-override (0.000072 sec)
gnutls-serv on 36651:
   passed   4/27  connect-to-tls-ipv4-nowait (0.048766 sec)
gnutls-serv on 46869:
retry: make client process failed: Connection refused, :name, bar, :buffer, *foo*, :service, 46869, :host, localhost
   passed   5/27  connect-to-tls-ipv4-wait (0.104101 sec)
gnutls-serv on 40031:
   passed   6/27  connect-to-tls-ipv6-nowait (0.043784 sec)
Received echo foo
   passed   7/27  echo-server-nowait (0.311162 sec)
  skipped   8/27  echo-server-with-dns (0.026180 sec)
Received echo foo
   passed   9/27  echo-server-with-ip (0.301017 sec)
Received echo foo
   passed  10/27  echo-server-with-local-ipv4 (0.300962 sec)
Received echo foo
   passed  11/27  echo-server-with-local-ipv6 (0.301023 sec)
Received echo foo
   passed  12/27  echo-server-with-localhost (0.301635 sec)
   passed  13/27  make-ipv4-tcp-server-with-specified-port (0.000320 sec)
   passed  14/27  make-ipv4-tcp-server-with-unspecified-port (0.000247 sec)
   passed  15/27  make-ipv6-tcp-server-with-specified-port (0.000365 sec)
   passed  16/27  make-ipv6-tcp-server-with-unspecified-port (0.000280 sec)
   passed  17/27  make-local-unix-server (0.000535 sec)
gnutls-serv on 36935:
retry: make client process failed: Connection refused, :name, bar, :buffer, *foo*, :host, localhost, :service, 36935, :nowait, nil, :tls-parameters, nil, :coding, nil
   passed  18/27  open-gnutls-stream-new-api-default (0.071366 sec)
   passed  19/27  open-gnutls-stream-new-api-errors (0.001658 sec)
gnutls-serv on 41385:
   passed  20/27  open-gnutls-stream-new-api-nowait (0.064266 sec)
gnutls-serv on 37255:
retry: make client process failed: Connection refused, :name, bar, :buffer, *foo*<3>, :host, localhost, :service, 37255, :nowait, nil, :tls-parameters, nil, :coding, nil
   passed  21/27  open-gnutls-stream-new-api-wait (0.069339 sec)
gnutls-serv on 41787:
   passed  22/27  open-gnutls-stream-old-api-nowait (0.051029 sec)
gnutls-serv on 33897:
retry: make client process failed: Connection refused, :name, bar, :buffer, *foo*<3>, :host, localhost, :service, 33897, :nowait, nil, :tls-parameters, nil, :coding, nil
   passed  23/27  open-gnutls-stream-old-api-wait (0.065877 sec)
gnutls-serv on 46759:
retry: make client process failed: Connection refused, :name, bar, :buffer, *foo*<3>, :host, localhost, :service, 46759, :nowait, nil, :tls-parameters, nil, :coding, nil
   passed  24/27  open-network-stream-tls (0.070041 sec)
gnutls-serv on 36777:
retry: make client process failed: Connection refused, :name, bar, :buffer, *foo*<3>, :host, localhost, :service, 36777, :nowait, nil, :tls-parameters, nil, :coding, nil
   passed  25/27  open-network-stream-tls-nocert (0.066414 sec)
gnutls-serv on 45303:
   passed  26/27  open-network-stream-tls-nowait (0.044982 sec)
gnutls-serv on 43721:
retry: make client process failed: Connection refused, :name, bar, :buffer, *foo*<3>, :host, localhost, :service, 43721, :nowait, nil, :tls-parameters, nil, :coding, nil
   passed  27/27  open-network-stream-tls-wait (0.069078 sec)

Ran 27 tests, 26 results as expected, 0 unexpected, 1 skipped (2021-11-30 11:26:07+0100, 2.317750 sec)

1 skipped results:
  SKIPPED  echo-server-with-dns
  
Robert
--