Skip to content

Commit 591df3e

Browse files
authored
Merge pull request #204 from jamals86/027-pg-transactions
Update test.sh
2 parents 4fe1669 + 94ffd66 commit 591df3e

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

pg/docker/test.sh

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ for i in $(seq 1 15); do
8383
done
8484

8585
echo ""
86-
echo "Bootstrapping KalamDB namespace 'rmtest' and table 'profiles' ..."
86+
echo "Bootstrapping KalamDB namespace 'rmtest' ..."
8787

8888
LOGIN_RESP=$(curl -sf "$KALAMDB_API_URL/v1/api/auth/login" \
8989
-H "Content-Type: application/json" \
@@ -114,17 +114,7 @@ curl -s "$KALAMDB_API_URL/v1/api/sql" \
114114
-H "Content-Type: application/json" \
115115
-d '{"sql": "CREATE NAMESPACE IF NOT EXISTS rmtest"}' > /dev/null
116116

117-
curl -s "$KALAMDB_API_URL/v1/api/sql" \
118-
-H "Authorization: Bearer $BEARER_TOKEN" \
119-
-H "Content-Type: application/json" \
120-
-d '{"sql": "CREATE USER TABLE IF NOT EXISTS rmtest.profiles (id TEXT PRIMARY KEY, name TEXT, age INTEGER)"}' > /dev/null
121-
122-
curl -s "$KALAMDB_API_URL/v1/api/sql" \
123-
-H "Authorization: Bearer $BEARER_TOKEN" \
124-
-H "Content-Type: application/json" \
125-
-d '{"sql": "CREATE SHARED TABLE IF NOT EXISTS rmtest.shared_items (id TEXT PRIMARY KEY, title TEXT, value INTEGER)"}' > /dev/null
126-
127-
echo "KalamDB tables bootstrapped (rmtest.profiles, rmtest.shared_items)."
117+
echo "KalamDB namespace bootstrapped (rmtest)."
128118

129119
echo "Waiting for PostgreSQL to be ready..."
130120
for i in $(seq 1 30); do

0 commit comments

Comments
 (0)