Skip to content
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

Merged

Conversation

george-dorin
Copy link
Contributor

@george-dorin george-dorin commented Jul 26, 2023

Test that deleting jobs and replacing jobs is covered and tested

@github-actions
Copy link
Contributor

I see that you haven't updated any README files. Would it make sense to do so?

@cl-sonarqube-production
Copy link

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@github-actions
Copy link
Contributor

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.

@github-actions github-actions bot added the Stale label Sep 25, 2023
@github-actions github-actions bot closed this Oct 2, 2023
@george-dorin george-dorin reopened this Oct 2, 2023
@github-actions github-actions bot removed the Stale label Oct 3, 2023
@george-dorin george-dorin marked this pull request as ready for review October 3, 2023 12:50
@george-dorin george-dorin requested review from a team as code owners October 3, 2023 12:50
…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")
Copy link
Contributor

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:

Suggested change
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.

Copy link
Contributor

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
@cl-sonarqube-production
Copy link

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@george-dorin george-dorin added this pull request to the merge queue Nov 15, 2023
Merged via the queue into develop with commit 66d9e23 Nov 15, 2023
88 checks passed
@george-dorin george-dorin deleted the chore/BCF-1650_job_deletion_and_replacement_tests branch November 15, 2023 16:16
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.

3 participants