Skip to content

Commit

Permalink
Use absolute path for drop db script
Browse files Browse the repository at this point in the history
  • Loading branch information
yitam committed Jan 3, 2019
1 parent 9c70bdc commit a578b22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/functional/setup/cleanup_dbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@

conn_options = ' -S ' + server + ' -U ' + uid + ' -P ' + pwd + ' '

manageTestDB('drop_db.sql', conn_options, args.DBNAME)
sql_script = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'drop_db.sql');
manageTestDB(sql_script, conn_options, args.DBNAME)

# if Windows, remove self signed certificate using ps command
if platform.system() == 'Windows':
Expand Down

0 comments on commit a578b22

Please sign in to comment.