Skip to content

Commit

Permalink
feat: vtadmin expectations
Browse files Browse the repository at this point in the history
Signed-off-by: Manan Gupta <[email protected]>
  • Loading branch information
GuptaManan100 committed Oct 9, 2023
1 parent a695be2 commit f100e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/endtoend/vtorc_vtadmin_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function verifyVtadminSetup() {
curlGetRequestWithRetry "localhost:14001/api/keyspaces" "commerce"
# Verify the other APIs work as well
curlGetRequestWithRetry "localhost:14001/api/tablets" '"tablets":\[{"cluster":{"id":"example","name":"example"},"tablet":{"alias":{"cell":"zone1"'
curlGetRequestWithRetry "localhost:14001/api/schemas" '"keyspace":"commerce","table_definitions":\[{"name":"corder","schema":"CREATE TABLE `corder` (\\n `order_id` bigint(20) NOT NULL AUTO_INCREMENT'
curlGetRequestWithRetry "localhost:14001/api/schemas" '"keyspace":"commerce","table_definitions":\[{"name":"corder","schema":"CREATE TABLE `corder` (\\n `order_id` bigint NOT NULL AUTO_INCREMENT'
# Verify that we are able to create a keyspace
curlPostRequest "localhost:14001/api/keyspace/example" '{"name":"testKeyspace"}'
# List the keyspaces and check that we have them both
Expand Down

0 comments on commit f100e1d

Please sign in to comment.