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

chore: move separate cli and server tests #25934

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mgattozzi
Copy link
Contributor

This commit restructures our tests to look like Enterprise in their layout. We break cli.rs into it's own module, combine the server tests and cli tests under one lib.rs file and handle the changes for visibility and import paths needed to make things work. the packages tests have been cfged out as a module so that it would not need to be added on a per test basis. Note that those tests fail locally for me currently, but it seems like we weren't testing these in CI at the moment.

There is no issue for this.

@jacksonrnewhouse I want to make sure that my changes to the cfg for the packages.rs test file being cfged out make sense. Especially given that these do not pass for me right now and we don't run them in CI from what I could see.

@mgattozzi mgattozzi force-pushed the mgattozzi/test-cleanup branch 2 times, most recently from 60e8a67 to 4b1fb59 Compare January 30, 2025 17:02
This commit restructures our tests to look like Enterprise in their
layout. We break cli.rs into it's own module, combine the server tests
and cli tests under one lib.rs file and handle the changes for
visibility and import paths needed to make things work. the packages
tests have been cfged out as a module so that it would not need to be
added on a per test basis. Note that those tests fail locally for me
currently, but it seems like we weren't testing these in CI at the
moment.

There is no issue for this.
@mgattozzi mgattozzi force-pushed the mgattozzi/test-cleanup branch from 4b1fb59 to 34a1f44 Compare January 30, 2025 17:03
@mgattozzi mgattozzi changed the title core: move separate cli and server tests chore: move separate cli and server tests Jan 30, 2025
Copy link
Contributor

@hiltontj hiltontj left a comment

Choose a reason for hiding this comment

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

Looks good! Only thing that isn't clear though: did the old.snap files get removed? The diff shows to me as a bunch of new ones getting added (not moved) and I don't see any being removed.

@hiltontj
Copy link
Contributor

Huh, I can't see why the semantic check is failing. Your PR title and commit are fine...

@mgattozzi
Copy link
Contributor Author

I'm not sure the old ones were removed. I can go through and prune them. It'll also let us repush things and hopefully get a CI run that passes. Plus it looks like we had more changes to tests causing more conflicts so I'll need to rebase again anyways.

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