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

Reduce forge app reinitialisation in model tests #2013

Merged
merged 2 commits into from
Apr 18, 2023

Conversation

knolleary
Copy link
Member

Part of #2004

Reduces forge app reinit under test/unit/forge/db/models/

Not as productive as the controller test changes simply due to the smaller number of tests involved.

@knolleary
Copy link
Member Author

I've rebased on main now that #2018 is merged as that was causing the tests to hang.

@knolleary
Copy link
Member Author

Fixed the postgres failure - hoping they run clean now

@knolleary
Copy link
Member Author

Postgres failed with a genuine error - not OOM. Must be a race condition as the normal tests passed. Will investigate

@knolleary
Copy link
Member Author

I've rebased on main again - this time picking up the latest updates on the spec file that was failing on postgres.

@knolleary
Copy link
Member Author

ok - postgres got past the previous point of failure then hit the OOM.

I think that's as good as we can get right now.

@Steve-Mcl all clear for you to review/merge

@Steve-Mcl
Copy link
Contributor

Steve-Mcl commented Apr 18, 2023

@knolleary "JavaScript heap out of memory" this time. Are you happy for me to proceed with review?

DOH. Ignore. Just spotted your comment above 🤦‍♂️

Copy link
Contributor

@Steve-Mcl Steve-Mcl left a comment

Choose a reason for hiding this comment

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

👍

@Steve-Mcl Steve-Mcl merged commit f2c2e31 into main Apr 18, 2023
@Steve-Mcl Steve-Mcl deleted the 2004-reword-model-tests branch April 18, 2023 12:46
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