Skip to content

Commit e7dd784

Browse files
committed
issue_123 set container name explicitly so it will be the same. I'm now able to run the tests successfully multiple times on a macbook with docker for mac.
1 parent 0f8c82c commit e7dd784

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docker-compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version: '2'
44
services:
55
itest:
66
build: .
7+
container_name: itest
78
links:
89
- kafka
910
- zookeeper

test_suite.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ docker-compose stop
1111
docker-compose build
1212
docker-compose up --abort-on-container-exit
1313

14-
failures=`docker inspect -f '{{ .State.ExitCode }}' rustrdkafka_itest_1`
14+
failures=`docker inspect -f '{{ .State.ExitCode }}' itest`
1515

1616
if [ "$failures" != "0" ]; then
1717
echo -e "${RED}One or more container terminated with errors${NC}"

0 commit comments

Comments
 (0)