FriendsOfTYPO3 / tea

Example extension for unit testing and best practices.
https://typo3.org/community/teams/best-practices
GNU General Public License v2.0
74 stars 22 forks source link

`runTests.sh` leaves Docker networks around #1312

Open oliverklee opened 2 months ago

oliverklee commented 2 months ago

I as a user want to shutdown the networks after the runTests.sh command is finished.

Acceptance criteria

Additional Information

This is after restarting my machine.

klee@gonzales$ docker network ls
NETWORK ID     NAME                               DRIVER    SCOPE
6920792e352c   bridge                             bridge    local
4198d7d220b4   friendsoftypo3-tea-660             bridge    local
084e52b5790f   friendsoftypo3-tea-2942            bridge    local
fc98aedbb1e8   friendsoftypo3-tea-5782            bridge    local
b0147ccd1aff   friendsoftypo3-tea-13929           bridge    local
15566258b4f5   friendsoftypo3-tea-19349           bridge    local
0d9d6743a587   friendsoftypo3-tea-19585           bridge    local
13e44a16e2dc   friendsoftypo3-tea-22532           bridge    local
e08253a9b4d2   friendsoftypo3-tea-23251           bridge    local
c3a4aa8fb79d   friendsoftypo3-tea-24302           bridge    local
7c265280ddc6   friendsoftypo3-tea-29587           bridge    local
1e2b7e72979f   host                               host      local
f2bc4af41dd4   none                               null      local

This causes problems for DDEV (from another project) as DDEV then cannot find a free network range and refuses to start:

Error response from daemon: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network'

I would expect the networks to be gone after the runTests.sh command is finished.

oliverklee commented 4 weeks ago

Possible solution: https://github.com/TYPO3/testing-framework/pull/584