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

ci: Refactor DB tests (no-changelog) #7292

Merged
merged 1 commit into from
Sep 28, 2023
Merged

Conversation

netroy
Copy link
Member

@netroy netroy commented Sep 28, 2023

@netroy netroy requested a review from krynble September 28, 2023 11:13
@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label Sep 28, 2023
@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (0bc33b1) 33.04% compared to head (27eba32) 33.03%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7292      +/-   ##
==========================================
- Coverage   33.04%   33.03%   -0.01%     
==========================================
  Files        3360     3360              
  Lines      200366   200366              
  Branches    22002    21997       -5     
==========================================
- Hits        66204    66197       -7     
- Misses     133052   133059       +7     
  Partials     1110     1110              

see 3 files with indirect coverage changes

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

@netroy netroy changed the title ci: Reduce memory usage for the mysql container in tests (no-changelog) ci: Reduce memory usage in tests (no-changelog) Sep 28, 2023
krynble
krynble previously approved these changes Sep 28, 2023
@cypress
Copy link

cypress bot commented Sep 28, 2023

Passing run #2314 ↗︎

0 242 3 0 Flakiness 0

Details:

🌳 reduce-mysql-ci-memory-usage 🖥️ browsers:node18.12.0-chrome107 🤖 netroy 🗃️...
Project: n8n Commit: 27eba3255f
Status: Passed Duration: 08:05 💡
Started: Sep 28, 2023 2:39 PM Ended: Sep 28, 2023 2:47 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@github-actions
Copy link
Contributor

✅ All Cypress E2E specs passed

@github-actions
Copy link
Contributor

github-actions bot commented Sep 28, 2023

Great PR! Please pay attention to the following items before merging:

Files matching packages/**:

  • If fixing bug, added test to cover scenario.
  • If addressing forum or Github issue, added link to description.

Files matching packages/**/*.ts:

  • Added unit tests to cover new or updated functionality.

Make sure to check off this list before asking for review.

@netroy netroy changed the title ci: Reduce memory usage in tests (no-changelog) ci: Refactor DB tests (no-changelog) Sep 28, 2023
@netroy netroy requested a review from krynble September 28, 2023 14:15
@@ -124,12 +124,10 @@ describe('POST /credentials', () => {
});

test('should fail with invalid inputs', async () => {
await Promise.all(
Copy link
Member Author

Choose a reason for hiding this comment

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

using await Promise.all( is somehow causing DB connection resets, leading to failing tests.
Not sure why that is, but switched to a for loop to unblock the CI.

@github-actions
Copy link
Contributor

✅ All Cypress E2E specs passed

@netroy netroy merged commit cf5a0ca into master Sep 28, 2023
26 checks passed
@netroy netroy deleted the reduce-mysql-ci-memory-usage branch September 28, 2023 14:53
@janober
Copy link
Member

janober commented Sep 28, 2023

Got released with [email protected]

MiloradFilipovic added a commit that referenced this pull request Oct 2, 2023
* master:
  fix(editor): Separate cloud endpoint calls (#7312)
  fix(core): Account for itemless case on restoring binary data ID (#7305)
  feat(editor): Workflow history [WIP]- create workflow history list component (no-changelog) (#7186)
  feat(core): Add plan name to telemetry (no-changelog) (#7296)
  ci: Fix typescript incremental builds (no-changelog) (#7275)
  fix(Postgres Node): Node requires comma-separated string even when using a single parameter through an expression (#7300)
  fix(Notion Node): Rename Notion API Key to Internal Integration Token (#7176)
  🚀 Release 1.9.0 (#7288)
  ci: Refactor DB tests (no-changelog) (#7292)
  fix(HTTP Request Node): Add suggestion how to fix '429 - too many requests' errors (#7293)
  fix(Respond to Webhook Node): JSON output from expression fix (#7294)
  feat(core): Add secrets provider reload and refactor (#7277)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants