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: engine-runner command line args passing filters correctly #5001

Merged
merged 3 commits into from
Jun 28, 2024

Conversation

kylezs
Copy link
Contributor

@kylezs kylezs commented Jun 25, 2024

Pull Request

Closes: PRO-1455

Checklist

Please conduct a thorough self-review before opening the PR.

  • I am confident that the code works.
  • I have updated documentation where appropriate.

Summary

A bug slipped through into main, fixed here: #4982 - which is hard to pick up without a test like this one.

@kylezs kylezs force-pushed the test/compatible-args branch 2 times, most recently from 480bf2f to 0a2884a Compare June 25, 2024 15:16
Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72%. Comparing base (3828e78) to head (c71dd42).
Report is 1 commits behind head on main.

Current head c71dd42 differs from pull request most recent head 41bc578

Please upload reports for the commit 41bc578 to get more accurate results.

Additional details and impacted files
@@          Coverage Diff           @@
##            main   #5001    +/-   ##
======================================
- Coverage     72%     72%    -0%     
======================================
  Files        431     431            
  Lines      74782   74646   -136     
  Branches   74782   74646   -136     
======================================
- Hits       53592   53401   -191     
- Misses     18343   18396    +53     
- Partials    2847    2849     +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kylezs kylezs marked this pull request as ready for review June 25, 2024 15:38
#[test]
fn incompatible_args_should_be_filtered_out() {
// create temporary file
let tempdir = tempfile::TempDir::new().unwrap();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does tempfile automatically clean up the temporary file that is created? Maybe we should delete it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kylezs kylezs added this pull request to the merge queue Jun 27, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 27, 2024
@kylezs kylezs added this pull request to the merge queue Jun 27, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 27, 2024
@kylezs kylezs added this pull request to the merge queue Jun 27, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 27, 2024
@kylezs kylezs requested a review from a team as a code owner June 27, 2024 07:59
@kylezs kylezs requested review from ahasna and martin-chainflip and removed request for a team June 27, 2024 07:59
@kylezs kylezs enabled auto-merge June 27, 2024 07:59
@kylezs kylezs added this pull request to the merge queue Jun 27, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 27, 2024
@kylezs kylezs force-pushed the test/compatible-args branch 4 times, most recently from c71dd42 to 41bc578 Compare June 28, 2024 08:38
@kylezs kylezs enabled auto-merge June 28, 2024 08:41
@kylezs kylezs added this pull request to the merge queue Jun 28, 2024
Merged via the queue into main with commit 68110a7 Jun 28, 2024
92 of 93 checks passed
@kylezs kylezs deleted the test/compatible-args branch June 28, 2024 10:17
dandanlen pushed a commit that referenced this pull request Jul 1, 2024
* test: engine-runner command line args passing filters correctly

* fix: should pass into new first

* fix: remove unused sol.rpc
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