Results 1 issues of triwjy

Closing the db connection after the 'expect' function will cause the program not terminating if the test failed