Victor Grousset/tuxayo
2021-05-25 15:45:20 UTC
Hi :)
IIUC this is where the CI calls "prove" to run the tests
https://gitlab.com/koha-community/koha-testing-docker/-/blob/master/files/run.sh#L213
And this is the place where KOHA_PROVE_CPUS is set.
https://gitlab.com/koha-community/koha-testing-docker/-/blob/master/files/run.sh#L155
It's not set in ".env" file so it should use "nproc" and this calls
"prove" with more than one thread.
Is that really the case? I tried locally use to "prove -j 4" and I'm
getting deadlocks with the database after a few minutes.
And do these deadlock in tests mean that Koha can hit them while running
in production?
I expect the tests to fail due to messing up with each other data but a
deadlock is something else.
Cheers,
IIUC this is where the CI calls "prove" to run the tests
https://gitlab.com/koha-community/koha-testing-docker/-/blob/master/files/run.sh#L213
And this is the place where KOHA_PROVE_CPUS is set.
https://gitlab.com/koha-community/koha-testing-docker/-/blob/master/files/run.sh#L155
It's not set in ".env" file so it should use "nproc" and this calls
"prove" with more than one thread.
Is that really the case? I tried locally use to "prove -j 4" and I'm
getting deadlocks with the database after a few minutes.
And do these deadlock in tests mean that Koha can hit them while running
in production?
I expect the tests to fail due to messing up with each other data but a
deadlock is something else.
Cheers,
--
Victor Grousset/tuxayo
_______________________________________________
Koha-devel mailing list
Koha-***@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bug
Victor Grousset/tuxayo
_______________________________________________
Koha-devel mailing list
Koha-***@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bug