Skip to content

Conversation

@ofrobots
Copy link
Contributor

The system tests for error reporting were still not safe to run
concurrently. The issue is that at the end we were deleting all events
(there is no API to delete events selectively, AFAICT). This meant that
concurrent executions of the system tests against the same project could
clobber anothers logged errors.

This is consistent with the observed timeouts looking for events to
show up.

Fixes #267

The system tests for error reporting were still not safe to run
concurrently. The issue is that at the end we were deleting all events
(there is no API to delete events selectively, AFAICT). This meant that
concurrent executions of the system tests against the same project could
clobber anothers logged errors.

This is consistent with the observed timeouts looking for events to
show up.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 13, 2019
ofrobots added a commit to ofrobots/nodejs-logging-winston that referenced this pull request Mar 13, 2019
The system tests for error reporting were still not safe to run
concurrently. The issue is that at the end we were deleting all events
(there is no API to delete events selectively, AFAICT). This meant that
concurrent executions of the system tests against the same project could
clobber anothers logged errors.

This is consistent with the observed timeouts looking for events to
show up.

Ref: googleapis/nodejs-logging-bunyan#275
@ofrobots
Copy link
Contributor Author

I still do think that these error reporting system tests have been creating too much busy work and not providing real value. I do not think we have found a single legitimate failure in the past year+. I wouldn't mind if they were to go away.

@codecov
Copy link

codecov bot commented Mar 13, 2019

Codecov Report

Merging #275 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #275   +/-   ##
=======================================
  Coverage   94.87%   94.87%           
=======================================
  Files           2        2           
  Lines          78       78           
  Branches        8        8           
=======================================
  Hits           74       74           
  Misses          4        4

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ab44701...9f6c8f2. Read the comment docs.

Copy link

@soldair soldair left a comment

Choose a reason for hiding this comment

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

Yeah no reason to delete them.

@ofrobots ofrobots merged commit 7395d1e into master Mar 13, 2019
@ofrobots ofrobots deleted the fix-267 branch March 13, 2019 20:25
ofrobots added a commit to googleapis/nodejs-logging-winston that referenced this pull request Mar 14, 2019
The system tests for error reporting were still not safe to run
concurrently. The issue is that at the end we were deleting all events
(there is no API to delete events selectively, AFAICT). This meant that
concurrent executions of the system tests against the same project could
clobber anothers logged errors.

This is consistent with the observed timeouts looking for events to
show up.

Ref: googleapis/nodejs-logging-bunyan#275
GautamSharda pushed a commit to googleapis/google-cloud-node that referenced this pull request Jan 14, 2026
The system tests for error reporting were still not safe to run
concurrently. The issue is that at the end we were deleting all events
(there is no API to delete events selectively, AFAICT). This meant that
concurrent executions of the system tests against the same project could
clobber anothers logged errors.

This is consistent with the observed timeouts looking for events to
show up.

Ref: googleapis/nodejs-logging-bunyan#275
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants