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

Let memory limit set in tests fit the used amount #28122

Merged
merged 1 commit into from
Jul 22, 2021
Merged

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Jul 22, 2021

With the recent bump of the php8.0 container it seems that setting a memory limit smaller than the currently used amount of memory is throwing an error in the tests. This PR makes sure that the values we use for testing fits with what is used by running the full testsuite in phpunit.

Should make the nodb tests pass again.

For some background it seems that php/php-src@1b3b5c9 introduced a warning for that case while fixing a bug and phpunit is letting the tests fail due to the convertWarningsToExceptions="true" default. However with the php upstream fix the tests would also no longer have passed as the previous memory limit value would have been kept then.

@juliusknorr juliusknorr added the 3. to review Waiting for reviews label Jul 22, 2021
Copy link
Member

@julien-nc julien-nc left a comment

Choose a reason for hiding this comment

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

Didn't try it but seems ✔️ to me

@juliusknorr
Copy link
Member Author

/backport to stable22

@juliusknorr
Copy link
Member Author

/backport to stable21

@juliusknorr
Copy link
Member Author

/backport to stable20

@juliusknorr
Copy link
Member Author

Backports to stable20 as it might also occur with php-7.4.21 or later

@Pytal Pytal merged commit 2880941 into master Jul 22, 2021
@Pytal Pytal deleted the tests/nodb-memoryinfo branch July 22, 2021 16:38
@Pytal Pytal added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants