Skip to content

error-reporting: Add errors.report system test#2264

Merged
stephenplusplus merged 2 commits intogoogleapis:masterfrom
DominicKramer:test/system-test-verify-report
May 2, 2017
Merged

error-reporting: Add errors.report system test#2264
stephenplusplus merged 2 commits intogoogleapis:masterfrom
DominicKramer:test/system-test-verify-report

Conversation

@DominicKramer
Copy link
Contributor

This change adds a system test that verifies that the
errors.report method correctly reports an error to the error
reporting console.

This change adds a system test that verifies that the
`errors.report` method correctly reports an error to the error
reporting console.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 27, 2017
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling e50f932 on DominicKramer:test/system-test-verify-report into 5149126 on GoogleCloudPlatform:master.

uri: [API, id, 'events'].join('/'),
method: 'DELETE'
};
self.request_(options, function(err, /* jshint unused:false */ response,

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

});

it('Should correctly publish errors', function(done) {
this.timeout(TIMEOUT * 2);

This comment was marked as spam.

This comment was marked as spam.

});

after(function(done) {
transport.deleteAllEvents(function(err) {

This comment was marked as spam.

This comment was marked as spam.

var rep = errItem.representative;
assert.ok(rep);
var context = rep.serviceContext;
assert.ok(context);

This comment was marked as spam.

This comment was marked as spam.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 57bf5e9 on DominicKramer:test/system-test-verify-report into 5149126 on GoogleCloudPlatform:master.

@DominicKramer
Copy link
Contributor Author

@stephenplusplus This is ready to land now.

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

Labels

api: error-reporting cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants