8000 [dove/hygen-cli] Name temp dirs like feathers_ts_koa by FossPrime · Pull Request #2460 · feathersjs/feathers · GitHub
[go: up one dir, main page]

Skip to content

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

Merged
daffl merged 2 commits intofeathersjs:hygen-clifrom
FossPrime:patch-8
Oct 5, 2021
Merged

[dove/hygen-cli] Name temp dirs like feathers_ts_koa#2460
daffl merged 2 commits intofeathersjs:hygen-clifrom
FossPrime:patch-8

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.

2 participants

0