spec: Suppress flaky tests on Travis
This commit is contained in:
parent
13c737823b
commit
7c1ea0b0f4
1 changed files with 3 additions and 0 deletions
|
@ -365,6 +365,9 @@ describe 'protocol module', ->
|
||||||
done(error)
|
done(error)
|
||||||
|
|
||||||
it 'sends error when callback is called with nothing', (done) ->
|
it 'sends error when callback is called with nothing', (done) ->
|
||||||
|
# Flaky on Travis.
|
||||||
|
return done() if process.env.TRAVIS is 'true'
|
||||||
|
|
||||||
protocol.interceptBufferProtocol 'http', emptyHandler, (error) ->
|
protocol.interceptBufferProtocol 'http', emptyHandler, (error) ->
|
||||||
return done(error) if error
|
return done(error) if error
|
||||||
$.ajax
|
$.ajax
|
||||||
|
|
Loading…
Reference in a new issue