aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/server_notifications_spec.lua
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-08-05 15:07:26 +0200
committerGitHub <noreply@github.com>2021-08-05 15:07:26 +0200
commit5130bc071e7720e261b7251c1716df69e33ae1dd (patch)
treed4972d8c628854fe22b8c35db4fcf0230d7c3918 /test/functional/api/server_notifications_spec.lua
parent3d183596720aeab874ceb475af23e390bbe9b8a3 (diff)
downloadrneovim-5130bc071e7720e261b7251c1716df69e33ae1dd.tar.gz
rneovim-5130bc071e7720e261b7251c1716df69e33ae1dd.tar.bz2
rneovim-5130bc071e7720e261b7251c1716df69e33ae1dd.zip
ci(tests): skip "stale events on channel close" (#15278)
This test sporadically hangs CI (cf. #14083); skip until the actual code is fixed.
Diffstat (limited to 'test/functional/api/server_notifications_spec.lua')
-rw-r--r--test/functional/api/server_notifications_spec.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/api/server_notifications_spec.lua b/test/functional/api/server_notifications_spec.lua
index 9ee2570798..e989034925 100644
--- a/test/functional/api/server_notifications_spec.lua
+++ b/test/functional/api/server_notifications_spec.lua
@@ -5,6 +5,7 @@ local eq, clear, eval, command, nvim, next_msg =
local meths = helpers.meths
local exec_lua = helpers.exec_lua
local retry = helpers.retry
+local isCI = helpers.isCI
describe('notify', function()
local channel
@@ -76,6 +77,10 @@ describe('notify', function()
end)
it('cancels stale events on channel close', function()
+ if isCI() then
+ pending('Sporadic hangs on CI (c.f., #14083). Skip until it is fixed.')
+ return
+ end
if helpers.pending_win32(pending) then return end
local catchan = eval("jobstart(['cat'], {'rpc': v:true})")
eq({id=catchan, stream='job', mode='rpc', client = {}}, exec_lua ([[