Skip to content

Commit d289af3

Browse files
committed
remove interactive flags
1 parent 6fe4257 commit d289af3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/2.logical_generic.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@ if [[ "${SOURCE_HOST}" = "172.17.0.1" ]]; then
4747
postgres:"${POSTGRES_VERSION}-alpine"
4848

4949
for i in {1..300}; do
50-
sudo docker exec -it postgres"${POSTGRES_VERSION}" psql -d "${SOURCE_DBNAME}" -U postgres -c 'select' > /dev/null 2>&1 && break || echo "test database is not ready yet"
50+
sudo docker exec postgres"${POSTGRES_VERSION}" psql -d "${SOURCE_DBNAME}" -U postgres -c 'select' > /dev/null 2>&1 && break || echo "test database is not ready yet"
5151
sleep 1
5252
done
5353

5454
# Generate data in the test database using pgbench
5555
# 1,000,000 accounts, ~0.14 GiB of data.
56-
sudo docker exec -it postgres"${POSTGRES_VERSION}" pgbench -U postgres -i -s 10 "${SOURCE_DBNAME}"
56+
sudo docker exec postgres"${POSTGRES_VERSION}" pgbench -U postgres -i -s 10 "${SOURCE_DBNAME}"
5757

5858
# Database info
59-
sudo docker exec -it postgres"${POSTGRES_VERSION}" psql -U postgres -c "\l+ ${SOURCE_DBNAME}"
59+
sudo docker exec postgres"${POSTGRES_VERSION}" psql -U postgres -c "\l+ ${SOURCE_DBNAME}"
6060
fi
6161

6262
### Step 1. Prepare a machine with disk, Docker, and ZFS

0 commit comments

Comments
 (0)