Skip to content

Fix error in job log subscriber#5588

Merged
mitchellhenke merged 2 commits intomainfrom
mitchellhenke/fix-error-in-log-subscriber
Nov 8, 2021
Merged

Fix error in job log subscriber#5588
mitchellhenke merged 2 commits intomainfrom
mitchellhenke/fix-error-in-log-subscriber

Conversation

@mitchellhenke
Copy link
Contributor

Was looking at worker logs and noticed:

NameError: undefined local variable or method `wait' for #<IdentityJobLogSubscriber:0x00005576f49b9270>
/srv/idp/releases/chef/lib/identity_job_log_subscriber.rb:88

This PR should fix that

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

ooof, any spec coverage we can add for this?

@mitchellhenke mitchellhenke force-pushed the mitchellhenke/fix-error-in-log-subscriber branch from 70a689a to 2f96dcf Compare November 8, 2021 14:59
@mitchellhenke
Copy link
Contributor Author

ooof, any spec coverage we can add for this?

Testing a job subscriber is still weird, but added a couple specs to hopefully cover the bare minimum of not crashing

@mitchellhenke mitchellhenke merged commit 4806267 into main Nov 8, 2021
@mitchellhenke mitchellhenke deleted the mitchellhenke/fix-error-in-log-subscriber branch November 8, 2021 15:18
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.

2 participants