diff options
| author | F. Jason Park | 2023-11-25 14:26:24 -0800 |
|---|---|---|
| committer | F. Jason Park | 2023-11-25 15:59:58 -0800 |
| commit | d2ce30afdd22291eeeaea7f3566bb7bd6bb14dda (patch) | |
| tree | 7186d9eace152a2dc26a6e3c14be1c0fc7902094 | |
| parent | 0a6d0a4959ae1d4ad70563fbf9e57f5543cf49f7 (diff) | |
| download | emacs-d2ce30afdd22291eeeaea7f3566bb7bd6bb14dda.tar.gz emacs-d2ce30afdd22291eeeaea7f3566bb7bd6bb14dda.zip | |
; Mark test for erc--update-channel-modes as :unstable
* test/lisp/erc/erc-scenarios-auth-source.el
(erc-scenarios-common--auth-source): Extend timeout.
* test/lisp/erc/erc-scenarios-base-buffer-display.el
(erc-scenarios-base-buffer-display--count-reset-timeout): Await
initial condition.
* test/lisp/erc/erc-scenarios-base-renick.el
(erc-scenarios-base-renick-queries-solo): Extend timeout.
* test/lisp/erc/erc-scenarios-misc.el (erc-scenarios-base-flood):
Extend timeout.
* test/lisp/erc/erc-tests.el (erc--channel-modes): Mark test as
:unstable pending further investigation. This test has been shown to
be unreliable, possibly because it expects Emacs to report characters
being a certain width in all environments. Thanks to Mattias
EngdegÄrd for reporting this failure.
* test/lisp/erc/resources/base/reuse-buffers/server/barnet.eld:
Extend timeouts.
* test/lisp/erc/resources/base/reuse-buffers/server/foonet.eld:
Extend timeouts.
| -rw-r--r-- | test/lisp/erc/erc-scenarios-auth-source.el | 2 | ||||
| -rw-r--r-- | test/lisp/erc/erc-scenarios-base-buffer-display.el | 2 | ||||
| -rw-r--r-- | test/lisp/erc/erc-scenarios-base-renick.el | 2 | ||||
| -rw-r--r-- | test/lisp/erc/erc-scenarios-misc.el | 2 | ||||
| -rw-r--r-- | test/lisp/erc/erc-tests.el | 2 | ||||
| -rw-r--r-- | test/lisp/erc/resources/base/reuse-buffers/server/barnet.eld | 6 | ||||
| -rw-r--r-- | test/lisp/erc/resources/base/reuse-buffers/server/foonet.eld | 6 |
7 files changed, 12 insertions, 10 deletions
diff --git a/test/lisp/erc/erc-scenarios-auth-source.el b/test/lisp/erc/erc-scenarios-auth-source.el index 641b881666e..7eaf90e1e41 100644 --- a/test/lisp/erc/erc-scenarios-auth-source.el +++ b/test/lisp/erc/erc-scenarios-auth-source.el | |||
| @@ -56,7 +56,7 @@ | |||
| 56 | (should (string= (buffer-name) (if id | 56 | (should (string= (buffer-name) (if id |
| 57 | (symbol-name id) | 57 | (symbol-name id) |
| 58 | (format "127.0.0.1:%d" port)))) | 58 | (format "127.0.0.1:%d" port)))) |
| 59 | (erc-d-t-wait-for 5 (eq erc-network 'FooNet)))))) | 59 | (erc-d-t-wait-for 10 (eq erc-network 'FooNet)))))) |
| 60 | 60 | ||
| 61 | (ert-deftest erc-scenarios-base-auth-source-server--dialed () | 61 | (ert-deftest erc-scenarios-base-auth-source-server--dialed () |
| 62 | :tags '(:expensive-test) | 62 | :tags '(:expensive-test) |
diff --git a/test/lisp/erc/erc-scenarios-base-buffer-display.el b/test/lisp/erc/erc-scenarios-base-buffer-display.el index 6a80baeaaa9..889f274b8b1 100644 --- a/test/lisp/erc/erc-scenarios-base-buffer-display.el +++ b/test/lisp/erc/erc-scenarios-base-buffer-display.el | |||
| @@ -193,7 +193,7 @@ | |||
| 193 | 193 | ||
| 194 | (lambda (_) | 194 | (lambda (_) |
| 195 | (with-current-buffer "FooNet" | 195 | (with-current-buffer "FooNet" |
| 196 | (should erc--server-reconnect-display-timer)) | 196 | (erc-d-t-wait-for 1 erc--server-reconnect-display-timer)) |
| 197 | 197 | ||
| 198 | ;; A non-interactive JOIN command doesn't signal that we're | 198 | ;; A non-interactive JOIN command doesn't signal that we're |
| 199 | ;; done auto-reconnecting. | 199 | ;; done auto-reconnecting. |
diff --git a/test/lisp/erc/erc-scenarios-base-renick.el b/test/lisp/erc/erc-scenarios-base-renick.el index 2bf3ef46257..5a87e5871f7 100644 --- a/test/lisp/erc/erc-scenarios-base-renick.el +++ b/test/lisp/erc/erc-scenarios-base-renick.el | |||
| @@ -173,7 +173,7 @@ | |||
| 173 | (with-current-buffer erc-server-buffer-foo | 173 | (with-current-buffer erc-server-buffer-foo |
| 174 | (should (string= (buffer-name) (format "127.0.0.1:%d" port))))) | 174 | (should (string= (buffer-name) (format "127.0.0.1:%d" port))))) |
| 175 | 175 | ||
| 176 | (erc-d-t-wait-for 1 (get-buffer "foonet")) | 176 | (erc-d-t-wait-for 10 (get-buffer "foonet")) |
| 177 | 177 | ||
| 178 | (ert-info ("Joined by bouncer to #foo, pal persent") | 178 | (ert-info ("Joined by bouncer to #foo, pal persent") |
| 179 | (with-current-buffer (erc-d-t-wait-for 1 (get-buffer "#foo")) | 179 | (with-current-buffer (erc-d-t-wait-for 1 (get-buffer "#foo")) |
diff --git a/test/lisp/erc/erc-scenarios-misc.el b/test/lisp/erc/erc-scenarios-misc.el index bb925eed836..2efcd7ec7fb 100644 --- a/test/lisp/erc/erc-scenarios-misc.el +++ b/test/lisp/erc/erc-scenarios-misc.el | |||
| @@ -75,7 +75,7 @@ | |||
| 75 | 75 | ||
| 76 | (ert-info ("All output sent") | 76 | (ert-info ("All output sent") |
| 77 | (with-current-buffer "#chan/foonet" | 77 | (with-current-buffer "#chan/foonet" |
| 78 | (funcall expect 8 "Some man or other")) | 78 | (funcall expect 16 "Some man or other")) |
| 79 | (with-current-buffer "#chan/barnet" | 79 | (with-current-buffer "#chan/barnet" |
| 80 | (funcall expect 10 "That's he that was Othello"))))) | 80 | (funcall expect 10 "That's he that was Othello"))))) |
| 81 | 81 | ||
diff --git a/test/lisp/erc/erc-tests.el b/test/lisp/erc/erc-tests.el index 980928aceac..1d0eb70578a 100644 --- a/test/lisp/erc/erc-tests.el +++ b/test/lisp/erc/erc-tests.el | |||
| @@ -812,6 +812,8 @@ | |||
| 812 | (should-not calls)))) | 812 | (should-not calls)))) |
| 813 | 813 | ||
| 814 | (ert-deftest erc--channel-modes () | 814 | (ert-deftest erc--channel-modes () |
| 815 | :tags (and (null (getenv "CI")) '(:unstable)) | ||
| 816 | |||
| 815 | (setq erc--isupport-params (make-hash-table) | 817 | (setq erc--isupport-params (make-hash-table) |
| 816 | erc--target (erc--target-from-string "#test") | 818 | erc--target (erc--target-from-string "#test") |
| 817 | erc-server-parameters | 819 | erc-server-parameters |
diff --git a/test/lisp/erc/resources/base/reuse-buffers/server/barnet.eld b/test/lisp/erc/resources/base/reuse-buffers/server/barnet.eld index cc7aff10076..5b64a58c98f 100644 --- a/test/lisp/erc/resources/base/reuse-buffers/server/barnet.eld +++ b/test/lisp/erc/resources/base/reuse-buffers/server/barnet.eld | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;; -*- mode: lisp-data; -*- | 1 | ;; -*- mode: lisp-data; -*- |
| 2 | ((pass 1 "PASS :barnet:changeme")) | 2 | ((pass 10 "PASS :barnet:changeme")) |
| 3 | ((nick 1 "NICK tester")) | 3 | ((nick 10 "NICK tester")) |
| 4 | ((user 2 "USER user 0 * :tester") | 4 | ((user 10 "USER user 0 * :tester") |
| 5 | (0 ":irc.barnet.org 001 tester :Welcome to the barnet IRC Network tester") | 5 | (0 ":irc.barnet.org 001 tester :Welcome to the barnet IRC Network tester") |
| 6 | (0 ":irc.barnet.org 002 tester :Your host is irc.barnet.org, running version oragono-2.6.0-7481bf0385b95b16") | 6 | (0 ":irc.barnet.org 002 tester :Your host is irc.barnet.org, running version oragono-2.6.0-7481bf0385b95b16") |
| 7 | (0 ":irc.barnet.org 003 tester :This server was created Sun, 25 Apr 2021 11:28:28 UTC") | 7 | (0 ":irc.barnet.org 003 tester :This server was created Sun, 25 Apr 2021 11:28:28 UTC") |
diff --git a/test/lisp/erc/resources/base/reuse-buffers/server/foonet.eld b/test/lisp/erc/resources/base/reuse-buffers/server/foonet.eld index 3a846108466..260ff74c20c 100644 --- a/test/lisp/erc/resources/base/reuse-buffers/server/foonet.eld +++ b/test/lisp/erc/resources/base/reuse-buffers/server/foonet.eld | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;; -*- mode: lisp-data; -*- | 1 | ;; -*- mode: lisp-data; -*- |
| 2 | ((pass 1 "PASS :foonet:changeme")) | 2 | ((pass 10 "PASS :foonet:changeme")) |
| 3 | ((nick 1 "NICK tester")) | 3 | ((nick 10 "NICK tester")) |
| 4 | ((user 1 "USER user 0 * :tester") | 4 | ((user 10 "USER user 0 * :tester") |
| 5 | (0 ":irc.foonet.org 001 tester :Welcome to the foonet IRC Network tester") | 5 | (0 ":irc.foonet.org 001 tester :Welcome to the foonet IRC Network tester") |
| 6 | (0 ":irc.foonet.org 002 tester :Your host is irc.foonet.org, running version oragono-2.6.0-7481bf0385b95b16") | 6 | (0 ":irc.foonet.org 002 tester :Your host is irc.foonet.org, running version oragono-2.6.0-7481bf0385b95b16") |
| 7 | (0 ":irc.foonet.org 003 tester :This server was created Sun, 25 Apr 2021 11:28:28 UTC") | 7 | (0 ":irc.foonet.org 003 tester :This server was created Sun, 25 Apr 2021 11:28:28 UTC") |