Skip to content

test: update travis config, handle errors properly, add TEST_LLNODE_DEBUG#144

Merged
joyeecheung merged 5 commits intonodejs:masterfrom
joyeecheung:log-error-timeout
Nov 30, 2017
Merged

test: update travis config, handle errors properly, add TEST_LLNODE_DEBUG#144
joyeecheung merged 5 commits intonodejs:masterfrom
joyeecheung:log-error-timeout

Conversation

@joyeecheung
Copy link
Copy Markdown
Member

@joyeecheung joyeecheung commented Nov 3, 2017

At the moment when a test times out (usually because the expected lldb output does not show up, possible due to an error), there is only a tape timeout message, as is what's happening in our Travis CI build.

This PR checks the timeout and throws an error containing the lldb output for the ease of debugging.

I've tried it on Mac and Linux with v8.9.0 and v6.11.5. I've noticed that the tests are a bit flaky in master, with random timeouts (with this patch on I can see the sent command got swallowed, it's 8 <command> instead of v8 <command> so lldb will error and the test times out). Sometimes there is a ECONNRESET on the pipe. I'll investigate that later.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants