From 66815643a9cdf967c0eb350a25b83a33b3ede293 Mon Sep 17 00:00:00 2001 From: Sarah McAlear Date: Sat, 25 Mar 2017 22:09:00 -0400 Subject: [PATCH] Fix a cleanup SQL query to enable running feature tests on CI against Greenplum. --- web/regression/python_test_utils/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/regression/python_test_utils/test_utils.py b/web/regression/python_test_utils/test_utils.py index 85c44b44d..ada3f8295 100644 --- a/web/regression/python_test_utils/test_utils.py +++ b/web/regression/python_test_utils/test_utils.py @@ -184,7 +184,7 @@ def drop_database(connection, database_name): ) else: pg_cursor.execute( - "SELECT pg_cancel_backend(procpid) FROM pg_stat_activity " \ + "SELECT pg_terminate_backend(procpid) FROM pg_stat_activity " \ "WHERE pg_stat_activity.datname ='%s' AND current_query='';" % database_name ) pg_cursor.execute("SELECT * FROM pg_database db WHERE"