]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tests: fix parallel tests
authorDaniel Axtens <dja@axtens.net>
Tue, 22 Jun 2021 15:03:19 +0000 (01:03 +1000)
committerDaniel Axtens <dja@axtens.net>
Wed, 23 Jun 2021 01:16:43 +0000 (11:16 +1000)
commitd2174b9bd7cb6187e0dc6c16edf874cdce079067
tree5a2dfac8ff375ef11ac438eb71be7ae703530463
parent2d3b3477bf4e3300d3d12e3650b31b0b6845ab26
tests: fix parallel tests

Parallel tests require:

 - the % wildcard to be in a token enclosed by backticks, not single
   quotes

 - that the user still be able to use 'test_patchwork' (so we don't want
   the \_ before the %)

Presumably this was skipped because if you get permissions working
manually but you miss part of the required permissions in the automated
script, you need to delete the old db data in order to observe the
issue.

Amusingly postgres worked the whole time.

Fixes: 6025f0e2533f ("Add parallel testing")
Signed-off-by: Daniel Axtens <dja@axtens.net>
tools/docker/entrypoint.sh