Skip to content

Commit 744fb46

Browse files
committed
Added missing session close in no_interactive_classic_global_dba
and configure_local_instance AdminAPI tests
1 parent 79207db commit 744fb46

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

unittest/scripts/js_devapi/scripts/dba_configure_local_instance.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ wait_slave_state(cluster, 'third_sandbox', ["UNREACHABLE", "OFFLINE"]);
7272
dba.startSandboxInstance(__mysql_sandbox_port3, {sandboxDir: __sandbox_dir});
7373
wait_slave_state(cluster, 'third_sandbox', "ONLINE");
7474

75+
session.close();
76+
7577
//@<OUT> Check saved auto_inc settings are restored
7678
shell.connect({scheme: 'mysql', host: localhost, port: __mysql_sandbox_port3, user: 'root', password: 'root'});
7779
session.runSql("show global variables like 'auto_increment_%'").fetchAll();

unittest/scripts/js_devapi/scripts/dba_no_interactive.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,3 +230,5 @@ var c2 = dba.getCluster('devCluster');
230230

231231
//@ Dba: getCluster
232232
print(c2);
233+
234+
session.close();

unittest/scripts/py_devapi/scripts/dba_no_interactive.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,3 +239,5 @@
239239

240240
#@ Dba: get_cluster
241241
print c2
242+
243+
session.close()

0 commit comments

Comments
 (0)