diff --git a/examples/local/205_clean_commerce.sh b/examples/local/205_clean_commerce.sh index f01fa2429af..6fe9350e8ae 100755 --- a/examples/local/205_clean_commerce.sh +++ b/examples/local/205_clean_commerce.sh @@ -22,4 +22,5 @@ source ./env.sh vtctlclient SetShardTabletControl -blacklisted_tables=customer,corder -remove commerce/0 rdonly vtctlclient SetShardTabletControl -blacklisted_tables=customer,corder -remove commerce/0 replica vtctlclient SetShardTabletControl -blacklisted_tables=customer,corder -remove commerce/0 master +vtctlclient ApplySchema -sql-file drop_commerce_tables.sql commerce vtctlclient ApplyRoutingRules -rules='{}' diff --git a/test/local_example.sh b/test/local_example.sh index e6a06d62c94..43ca3d0e6e8 100755 --- a/test/local_example.sh +++ b/test/local_example.sh @@ -29,7 +29,7 @@ source ./env.sh # Required so that "mysql" works from alias ./101_initial_cluster.sh -sleep 1 # Give vtgate a second to really start. +sleep 5 # Give vtgate time to really start. mysql < ../common/insert_commerce_data.sql mysql --table < ../common/select_commerce_data.sql