Closed ailintom closed 4 years ago
Totals | |
---|---|
Change from base Build 119: | 0.8% |
Covered Lines: | 3059 |
Relevant Lines: | 7816 |
Hi @ailintom, thank you. Can you please add a test to show that there was a problem before?
Hi @ailintom, thank your for #143, but it would have been better, if you had add the test in this pull request and not in a new one. I committed your test file into this pull request 7c16548, so the CI gets triggered and runs all tests again.
Unfortunately 1 test still fails: https://travis-ci.org/github/semsol/arc2/jobs/665734128
Configuration: MariaDB 10.5 + PHP 7.4 + mysqli
Travis run: https://travis-ci.org/github/semsol/arc2/builds/665734071
Any idea?
MySQL fails to start; hence, PHPUnit doesn't even start also. The problem is with the configuration of MySQL. It has nothing to do with the Pull Request.
One option would be to increase sleep 10 in .travis/install-and-init-db.sh
What if we make it 20?
People also advise specifying an ip in the docker command used to run mysql https://stackoverflow.com/questions/23234379/installing-mysql-in-docker-fails-with-error-message-cant-connect-to-local-mysq
I increased to sleep time from 10
to 20
(#144). Lets see if Travis runs through without errors.
Now everything seems to be fine; the only failed travis job is due to HTTP Error 429 too many requests on GitHub. I have tried to patch .travis.yml with --retry-on-http-error=429 to consider this error as a non-fatal, transient error, but wget does not recognize this command-line option
Travis and coverage.io looking fine. Good job @ailintom
The old version was giving an error, because $this has no property named $store