add 2 named networks with close name in the networks test suite to guarantee the good distinction on network names

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
This commit is contained in:
Guillaume Lours 2022-07-13 15:09:29 +02:00
parent 923e01d151
commit 966cbb59ac
No known key found for this signature in database
1 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,8 @@ services:
image: gtardif/sentences-db
networks:
- dbnet
- closesnetworkname1
- closesnetworkname2
words:
image: gtardif/sentences-api
ports:
@ -28,3 +30,7 @@ networks:
dbnet:
servicenet:
name: microservices
closesnetworkname1:
name: closenamenet
closesnetworkname2:
name: closenamenet-2