From 2647ed4daafa41ee1925a59d34e6568282184e5f Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Wed, 25 Oct 2017 16:22:07 -0400 Subject: [PATCH] In test cleanup, only delete DB if it exists Change-Id: Ided15b1ba47ee02ce609284f24cdaa730e851d6d --- tests/neutron_cleanup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/neutron_cleanup.sh b/tests/neutron_cleanup.sh index 7886a0b..56dee70 100755 --- a/tests/neutron_cleanup.sh +++ b/tests/neutron_cleanup.sh @@ -3,5 +3,5 @@ set -x sudo mysql -u root << EOF -DROP DATABASE neutron; +DROP DATABASE IF EXISTS neutron; EOF