[k6] Fix teardown script shutting down all containers 78/138778/2
authordanielhanrahan <daniel.hanrahan@est.tech>
Fri, 16 Aug 2024 13:49:51 +0000 (14:49 +0100)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Fri, 16 Aug 2024 16:18:25 +0000 (17:18 +0100)
commit96676fe9a5fc163be511af2a83018882897c660f
treeeb0980141012c2a2535b210d92f143afbdd2895e
parent8f88e837708b0c8da5693f59286454ca9f1e56a3
[k6] Fix teardown script shutting down all containers

The teardown script in k6 shuts down ALL docker containers when done.
This can cause failures in the groovy tests when running in parallel,
as the groovy test container for DB also shuts down.

This fix is to shut down using docker-compose.

Issue-ID: CPS-2367
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ic55ca6396dfc3170e4a326f34214d3a819977f50
k6-tests/teardown.sh