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

🌋 Jest handler open <feature/DB-modularity> #58

Closed
can019 opened this issue Mar 8, 2022 · 0 comments
Closed

🌋 Jest handler open <feature/DB-modularity> #58

can019 opened this issue Mar 8, 2022 · 0 comments

Comments

@can019
Copy link
Contributor

can019 commented Mar 8, 2022

Mysql get connection과 destroy가 필요없어 beforeAll 과 afterAll의 mysql 관련 구문들을 지웠더니
Jest TCPWRAP 오류가 발생했습니다. image
supertest 관련 이슈를 읽어보면 express가 random port를 할당받아서 생기는 문제라고 합니다. 이슈 생성할까요?

현재 작업중인 feature/nginx에서는 위와 같은 오류가 발생하지 않고 있습니다.

스크린샷 2022-03-07 오후 3 31 56
  • 다른 잠재적인 오류일 가능성도 확인해봐야 할 것 같습니다.

네 일단 Merge & branch 삭제하겠습니다.

넵 알겠습니다. test 파일에 남긴 코드리뷰 참고해주시면 감사하겠습니다 :)

Originally posted by @can019 in #56 (comment)

hyunkoes added a commit that referenced this issue Mar 9, 2022
@hyunkoes hyunkoes mentioned this issue Mar 11, 2022
2 tasks
can019 pushed a commit that referenced this issue Mar 13, 2022
* 🔧 Set mysql pool parameters to .env

* 🔧 Add pool parameters

* 🩹 #56 review feedback

* 🐛 #58 issue fix

* 🗑️ make initialize function void
hyunkoes added a commit that referenced this issue Mar 13, 2022
* 🔧 Set mysql pool parameters to .env

* 🔧 Add pool parameters

* 🩹 #56 review feedback

* 🐛 #58 issue fix

* 🗑️ make initialize function void

* ⏪ return pool for jest handler issue

* 🩹 logger level 수정
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

No branches or pull requests

2 participants