File tree Expand file tree Collapse file tree 3 files changed +20
-7
lines changed Expand file tree Collapse file tree 3 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 1717set -e
1818set -o pipefail
1919
20- LOCALSTACK_VERSION=0.12.2
21- docker pull localstack/localstack:$LOCALSTACK_VERSION
22- docker run -d --rm --net=host --name=tensorflow-io-aws localstack/localstack:$LOCALSTACK_VERSION
23- echo " Waiting for 10 secs until localstack is up and running"
24- sleep 10
20+ export LOCALSTACK_VERSION=0.12.2
21+ cd tests/test_aws
22+ TMPDIR=/private$TMPDIR docker-compose up -d
23+ cd -
24+ echo " Waiting for 20 secs until localstack is up and running"
25+ sleep 20
2526echo " Localstack up"
2627exit 0
Original file line number Diff line number Diff line change 1+ version : ' 2.1'
2+ services :
3+ localstack :
4+ image : " localstack/localstack:${LOCALSTACK_VERSION}"
5+ container_name : tensorflow-io-aws
6+ ports :
7+ - " 4566:4566"
8+ environment :
9+ - SERVICES=${SERVICES- }
10+ - DOCKER_HOST=unix:///var/run/docker.sock
11+ volumes :
12+ - " ${TMPDIR:-/tmp/localstack}:/tmp/localstack"
Original file line number Diff line number Diff line change 2424
2525
2626@pytest .mark .skipif (
27- sys .platform in ("win32" , "darwin" ),
28- reason = "TODO Localstack not setup properly on macOS/ Windows yet" ,
27+ sys .platform in ("win32" ),
28+ reason = "TODO Localstack not setup properly on Windows yet" ,
2929)
3030def test_read_file ():
3131 """Test case for reading S3"""
You can’t perform that action at this time.
0 commit comments