From a7bef0577fc75621fff4f9a8f8caa0164d342c42 Mon Sep 17 00:00:00 2001 From: Morgan Tocker Date: Wed, 15 Apr 2020 22:05:42 -0600 Subject: [PATCH] Add fix for slow start vtgate Signed-off-by: Morgan Tocker --- test/local_example.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/local_example.sh b/test/local_example.sh index a46370ae459..e6a06d62c94 100755 --- a/test/local_example.sh +++ b/test/local_example.sh @@ -29,6 +29,8 @@ source ./env.sh # Required so that "mysql" works from alias ./101_initial_cluster.sh +sleep 1 # Give vtgate a second to really start. + mysql < ../common/insert_commerce_data.sql mysql --table < ../common/select_commerce_data.sql