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

[dove/hygen-cli] Name temp dirs like feathers_ts_koa #2460

Merged
merged 2 commits into from
Oct 5, 2021
Merged

[dove/hygen-cli] Name temp dirs like feathers_ts_koa #2460

merged 2 commits into from
Oct 5, 2021

Conversation

FossPrime
Copy link
Member

@FossPrime FossPrime commented Oct 5, 2021

Summary

Instead of test folders being named like this:

drwx------ 7 sandbox sandbox 4.0K Oct  5 20:53 feathers-O7C15n
drwx------ 7 sandbox sandbox 4.0K Oct  5 20:53 feathers-GGIGRy
drwx------ 7 sandbox sandbox 4.0K Oct  5 20:52 feathers-cz5zXe
drwx------ 7 sandbox sandbox 4.0K Oct  5 20:52 feathers-eQiVHK
drwx------ 7 sandbox sandbox 4.0K Oct  5 20:49 feathers-ewzTXi
drwx------ 7 sandbox sandbox 4.0K Oct  5 20:43 feathers-qRmKUw
drwx------ 7 sandbox sandbox 4.0K Oct  5 20:41 feathers-HyM5uj
drwx------ 7 sandbox sandbox 4.0K Oct  5 20:37 feathers-ZgnC7M
drwx------ 7 sandbox sandbox 4.0K Oct  5 20:31 feathers-IIUqZJ

Names them like this:

drwx------ 8 sandbox sandbox 4.0K Oct  5 21:09 feathers_ts_koa-fxVBjf
drwx------ 7 sandbox sandbox 4.0K Oct  5 21:07 feathers_ts_express-Nj0Nfm
drwx------ 7 sandbox sandbox 4.0K Oct  5 21:07 feathers_js_express-3A31J1
drwx------ 7 sandbox sandbox 4.0K Oct  5 21:06 feathers_js_koa-DPoCLs

why the tests are failing: 5 minute time out... in a project with thousands of tests

  • Tell us about the problem your pull request is solving.
    • Debugging and building off of the generator tests is hard with random names
  • Are there any open issues that are related to this?
    • You're looking at it.
  • Is this PR dependent on PRs in other repos?
    • Nope, it's an independent, strong, PR

Instead of test folders being named like this:
```
drwx------ 7 sandbox sandbox 4.0K Oct  5 20:53 feathers-O7C15n
drwx------ 7 sandbox sandbox 4.0K Oct  5 20:53 feathers-GGIGRy
drwx------ 7 sandbox sandbox 4.0K Oct  5 20:52 feathers-cz5zXe
drwx------ 7 sandbox sandbox 4.0K Oct  5 20:52 feathers-eQiVHK
drwx------ 7 sandbox sandbox 4.0K Oct  5 20:49 feathers-ewzTXi
drwx------ 7 sandbox sandbox 4.0K Oct  5 20:43 feathers-qRmKUw
drwx------ 7 sandbox sandbox 4.0K Oct  5 20:41 feathers-HyM5uj
drwx------ 7 sandbox sandbox 4.0K Oct  5 20:37 feathers-ZgnC7M
drwx------ 7 sandbox sandbox 4.0K Oct  5 20:31 feathers-IIUqZJ
```

Names them like this:
```
drwx------ 8 sandbox sandbox 4.0K Oct  5 21:09 feathers_ts_koa-fxVBjf
drwx------ 7 sandbox sandbox 4.0K Oct  5 21:07 feathers_ts_express-Nj0Nfm
drwx------ 7 sandbox sandbox 4.0K Oct  5 21:07 feathers_js_express-3A31J1
drwx------ 7 sandbox sandbox 4.0K Oct  5 21:06 feathers_js_koa-DPoCLs
```

Also kindof "addresses" the github timing out problem... by running the dev suite of tests if on github
@daffl
Copy link
Member

daffl commented Oct 5, 2021

Good call this makes much more sense!

@daffl daffl merged commit cad0296 into feathersjs:hygen-cli Oct 5, 2021
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.

None yet

2 participants