Change in ...osmo-hlr[master]: tests/db_test: close the database when test is finished

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Tue Jul 30 17:15:18 UTC 2019


Vadim Yanitskiy has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-hlr/+/14965 )

Change subject: tests/db_test: close the database when test is finished
......................................................................

tests/db_test: close the database when test is finished

Change-Id: I96fedf9181e89e4d68815b04f494a9c2ecc0e057
---
M tests/db/db_test.c
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/tests/db/db_test.c b/tests/db/db_test.c
index cc299bf..91b32ea 100644
--- a/tests/db/db_test.c
+++ b/tests/db/db_test.c
@@ -979,6 +979,7 @@
 	test_subscr_sqn();
 
 	printf("Done\n");
+	db_close(dbc);
 	return 0;
 }
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-hlr/+/14965
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Change-Id: I96fedf9181e89e4d68815b04f494a9c2ecc0e057
Gerrit-Change-Number: 14965
Gerrit-PatchSet: 2
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190730/b71ead27/attachment.html>


More information about the gerrit-log mailing list