-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test job creation and replacement #9934
Test job creation and replacement #9934
Conversation
I see that you haven't updated any README files. Would it make sense to do so? |
SonarQube Quality Gate |
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
…nt_tests # Conflicts: # integration-tests/actions/ocr2_helpers_local.go # integration-tests/actions/ocr_helpers_local.go
} | ||
jobs, _, err := node.ReadJobs() | ||
if err != nil { | ||
return errors.Wrap(err, "error reading jobs from chainlink node") |
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.
Let's use std lib errors here:
return errors.Wrap(err, "error reading jobs from chainlink node") | |
return fmt.Errorf("error reading jobs from chainlink node: %w", err) |
Trying to move away from pkg/errors since it's not necessary or even maintained any more.
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.
Oh I though the import was new, but I guess there is precedent here for local style. Either way in that case 🤷
…nt_tests # Conflicts: # integration-tests/actions/ocr_helpers_local.go # integration-tests/client/chainlink.go # integration-tests/smoke/ocr2_test.go
SonarQube Quality Gate 0 Bugs No Coverage information |
Test that deleting jobs and replacing jobs is covered and tested