laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38690?usp=email )

Change subject: msc: use :memory: for SMS (volatile in-memory database)
......................................................................

msc: use :memory: for SMS (volatile in-memory database)

This eliminates sms.db* files and reduces chances of failures
due to unclean state database when running TCs more than once.

Change-Id: I0361284e41f84f43d96b9ce10da88fc9a089cdd4
---
M .gitignore
M msc/osmo-msc.cfg
2 files changed, 1 insertion(+), 3 deletions(-)

Approvals:
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved
  Jenkins Builder: Verified




diff --git a/.gitignore b/.gitignore
index 94061e3..d1a9de5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,9 +20,6 @@
 *.netcat.stderr
 *.d
 *.merged
-sms.db
-sms.db-shm
-sms.db-wal
 __pycache__
 tags
 .linux
diff --git a/msc/osmo-msc.cfg b/msc/osmo-msc.cfg
index 2fd83ad..98a9462 100644
--- a/msc/osmo-msc.cfg
+++ b/msc/osmo-msc.cfg
@@ -69,6 +69,7 @@
  cs7-instance-iu 0
  emergency-call route-to-msisdn 112
  mncc external /tmp/mncc.sock
+ sms-database :memory:
 mncc-int
  default-codec tch-f fr
  default-codec tch-h hr

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38690?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I0361284e41f84f43d96b9ce10da88fc9a089cdd4
Gerrit-Change-Number: 38690
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to