Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

typo: wait_expired -> waitExpired #287

Merged
merged 1 commit into from
Jun 30, 2017
Merged

Conversation

ofrobots
Copy link
Contributor

This was causing breakpoints to be locally expired incorrectly.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 28, 2017
Copy link
Contributor

@matthewloring matthewloring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good. Does it make sense to add a system test for this?

@ofrobots
Copy link
Contributor Author

We already had a system test: https://github.com/GoogleCloudPlatform/cloud-debug-nodejs/blob/master/system-test/test-controller.js#L98 which didn't have the typo :(. I think a more comprehensive system test that actually sets a breakpoint would be needed.

@ofrobots
Copy link
Contributor Author

Adjusted the e2e test to better exercise waitExpired. Also fix success_on_timeout -> successOnTimeout.

@@ -197,13 +197,13 @@ describe('@google-cloud/debug end-to-end behavior', function () {
'transcript in child ' + index + ' should contain value of o: ' +
child.transcript);
});
return api.deleteBreakpoint(debuggeeId, breakpoint.id);
return Promise.resolve();

This comment was marked as spam.

This comment was marked as spam.

Copy link
Contributor

@DominicKramer DominicKramer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM w/ question.

@ofrobots ofrobots merged commit 334fba2 into googleapis:master Jun 30, 2017
@ofrobots ofrobots deleted the wait-token branch June 30, 2017 21:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants