aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-08-08 01:04:20 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-08-09 15:17:46 -0400
commit68d91985013f046b9dd160932781825e3856cf9f (patch)
treefe0910ae0a3e17f754a95d277c6f310a4e680a4c
parentabb0928dfbf71d5358b56e888db9ed8ff66d8933 (diff)
downloadrneovim-68d91985013f046b9dd160932781825e3856cf9f.tar.gz
rneovim-68d91985013f046b9dd160932781825e3856cf9f.tar.bz2
rneovim-68d91985013f046b9dd160932781825e3856cf9f.zip
XXX: CI: Disable hanging test on Travis OSX.
Temporary change to avoid frequent hangs on Travis macOS/OSX builds. Hang does not occur on Quickbuild OSX (Yosemite) build. Reverting e9061117a5b8f195c3f26a5cb94e18ddd7752d86 avoids the hang, but causes more serious regressions on many more systems. Note that the job_spec hang only happens with the gcc-4.9 Travis OSX build. References #5002 References #5029
-rw-r--r--test/functional/api/server_requests_spec.lua6
-rw-r--r--test/functional/core/job_spec.lua7
2 files changed, 13 insertions, 0 deletions
diff --git a/test/functional/api/server_requests_spec.lua b/test/functional/api/server_requests_spec.lua
index 54095112fb..eb63834cb0 100644
--- a/test/functional/api/server_requests_spec.lua
+++ b/test/functional/api/server_requests_spec.lua
@@ -137,6 +137,12 @@ describe('server -> client', function()
end)
describe('when the client is a recursive vim instance', function()
+ if os.getenv("TRAVIS") and helpers.os_name() == "osx" then
+ -- XXX: Hangs Travis OSX since e9061117a5b8f195c3f26a5cb94e18ddd7752d86.
+ pending("[Hangs on Travis OSX. #5002]", function() end)
+ return
+ end
+
before_each(function()
nvim('command', "let vim = rpcstart('"..nvim_prog.."', ['-u', 'NONE', '-i', 'NONE', '--cmd', 'set noswapfile', '--embed'])")
neq(0, eval('vim'))
diff --git a/test/functional/core/job_spec.lua b/test/functional/core/job_spec.lua
index 61ecdd1835..1d11374e4d 100644
--- a/test/functional/core/job_spec.lua
+++ b/test/functional/core/job_spec.lua
@@ -105,6 +105,13 @@ describe('jobs', function()
end)
it("will not buffer data if it doesn't end in newlines", function()
+ if os.getenv("TRAVIS") and os.getenv("CC") == "gcc-4.9"
+ and helpers.os_name() == "osx" then
+ -- XXX: Hangs Travis OSX since e9061117a5b8f195c3f26a5cb94e18ddd7752d86.
+ pending("[Hangs on Travis OSX. #5002]", function() end)
+ return
+ end
+
nvim('command', "let j = jobstart(['cat', '-'], g:job_opts)")
nvim('command', 'call jobsend(j, "abc\\nxyz")')
eq({'notification', 'stdout', {0, {'abc', 'xyz'}}}, next_msg())