From ff0e46071df4ff3041f5784d43d44d4f910efcb6 Mon Sep 17 00:00:00 2001 From: David Puglielli Date: Fri, 25 May 2018 15:19:20 -0700 Subject: [PATCH] dropped tables at end --- .../pdo_sqlsrv/pdo_ae_azure_key_vault_keywords.phpt | 7 ++++--- .../sqlsrv/sqlsrv_ae_azure_key_vault_keywords.phpt | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/test/functional/pdo_sqlsrv/pdo_ae_azure_key_vault_keywords.phpt b/test/functional/pdo_sqlsrv/pdo_ae_azure_key_vault_keywords.phpt index 135e9dcc..136e8725 100644 --- a/test/functional/pdo_sqlsrv/pdo_ae_azure_key_vault_keywords.phpt +++ b/test/functional/pdo_sqlsrv/pdo_ae_azure_key_vault_keywords.phpt @@ -116,8 +116,9 @@ for ($i = 0; $i < sizeof($columnEncryption); ++$i) { } } - // Free the statement and close the connection + // Free the statement, drop the table, and close the connection unset($stmt); + dropTable($conn, $tableName); unset($conn); } catch (Exception $e) { $errors = $e->errorInfo; @@ -132,7 +133,7 @@ for ($i = 0; $i < sizeof($columnEncryption); ++$i) { array('IMSSP', '-87'), array('IMSSP', '-88'), array('08001', '0'), - array('08001', '-1') // SSL error occurs in Ubuntu + array('08001', '-1') // SSL error occurs on some Linuxes ); } else { checkErrors( @@ -144,7 +145,7 @@ for ($i = 0; $i < sizeof($columnEncryption); ++$i) { array('IMSSP', '-87'), array('IMSSP', '-88'), array('08001', '0'), - array('08001', '-1'), // SSL error occurs in Ubuntu + array('08001', '-1'), // SSL error occurs on some Linuxes array('22018', '206') ); } diff --git a/test/functional/sqlsrv/sqlsrv_ae_azure_key_vault_keywords.phpt b/test/functional/sqlsrv/sqlsrv_ae_azure_key_vault_keywords.phpt index d8659773..301a0ffa 100644 --- a/test/functional/sqlsrv/sqlsrv_ae_azure_key_vault_keywords.phpt +++ b/test/functional/sqlsrv/sqlsrv_ae_azure_key_vault_keywords.phpt @@ -147,7 +147,8 @@ for ($i = 0; $i < sizeof($columnEncryption); ++$i) { } } - // Free the statement and close the connection + // Drop the table and close the connection + dropTable($conn, $tableName); sqlsrv_close($conn); } }