Skip to content

Latest commit

 

History

History
83 lines (54 loc) · 1.47 KB

File metadata and controls

83 lines (54 loc) · 1.47 KB

End to End tests

Running the End to End tests

GCP binary

Start the Docker containers from the top level directory:

docker compose -f compose.yml up -d --build --wait --wait-timeout 60

Run the tests:

go test -v -tags=e2e -run TestGCPSpanner ./tests/

When finished, you can clean up the Docker containers if desired:

docker compose -f compose.yml down --volumes

POSIX binary

Start the Docker containers from the top level directory:

docker compose -f posix-compose.yml up -d --build --wait --wait-timeout 60

Run the tests:

go test -v -tags=e2e -run TestPOSIX ./tests/

When finished, you can clean up the Docker containers if desired:

docker compose -f posix-compose.yml down --volumes

AWS binary

Start the Docker containers from the top level directory:

docker compose -f aws-compose.yml up -d --build --wait --wait-timeout 60

Run the tests:

go test -v -tags=e2e -run TestAWS ./tests/

When finished, you can clean up the Docker containers if desired:

docker compose -f aws-compose.yml down --volumes

GCP CloudSQL binary

Start the Docker containers from the top level directory:

docker compose -f cloudsql-compose.yml up -d --build --wait --wait-timeout 60

Run the tests:

go test -v -tags=e2e -run TestGCPCloudSQL ./tests/

When finished, you can clean up the Docker containers if desired:

docker compose -f cloudsql-compose.yml down --volumes