-
Notifications
You must be signed in to change notification settings - Fork 51
Conversation
process.send([errorMessage]); | ||
} | ||
}; | ||
sendErrorIfNotOk(debug.private_, 'debuglet has initialized'); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
}); | ||
}; | ||
|
||
describe('@google-cloud/debug end-to-end behavior (allow 60s)', function () { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
sendErrorIfNotOk(debuggee.id, 'debuggee should have registered'); | ||
if (ok) { | ||
// The parent process needs to know the debuggeeId and project. | ||
process.send(['', debuggee.id, debuggee.project]); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
assert.equal(debuggeeId, a[1]); | ||
assert.equal(projectId, a[2]); | ||
if (debuggeeId !== a[1] || projectId !== a[2]) { | ||
reject(new Error('Child debuggee ID and/or project ID' + |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
||
afterEach(function() { | ||
children.forEach(function (child) { | ||
child.process.kill(); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once things are passing for 0.12
a22178c
to
de9172a
Compare
Still fixing tests - since E2E tests fail. |
@@ -0,0 +1,109 @@ | |||
// /** |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Turned
test-breakpoints.js
andtest-log-throttling.js
into mocha tests in a new filetest-e2e.js
. This involved splitting off the debuggee into a separate file (fib.js
).Changes to the tests themselves are: