fixeria has uploaded this change for review. (
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/90/38690/1
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 a886565..7f40532 100644
--- a/msc/osmo-msc.cfg
+++ b/msc/osmo-msc.cfg
@@ -65,6 +65,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: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I0361284e41f84f43d96b9ce10da88fc9a089cdd4
Gerrit-Change-Number: 38690
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>