summaryrefslogtreecommitdiff
path: root/scripts/IceStormUtil.py
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2015-11-23 17:33:30 -0500
committerBernard Normier <bernard@zeroc.com>2015-11-23 17:33:30 -0500
commit06214c65a8fd5029382ce1c7dacfdce7fb836329 (patch)
tree7d6f27a457ef01c0bea2d2c6af8b9384513f1a01 /scripts/IceStormUtil.py
parentRe-applied fix for removal of sql reference in test/IceStorm/repgrid applicat... (diff)
downloadice-06214c65a8fd5029382ce1c7dacfdce7fb836329.tar.bz2
ice-06214c65a8fd5029382ce1c7dacfdce7fb836329.tar.xz
ice-06214c65a8fd5029382ce1c7dacfdce7fb836329.zip
The default LMDB map size for IceGrid and IceStorm is now 10MB (Windows)
and 100MB (Linux, OS X)
Diffstat (limited to 'scripts/IceStormUtil.py')
-rw-r--r--scripts/IceStormUtil.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/IceStormUtil.py b/scripts/IceStormUtil.py
index 65d51d832c0..f85f9b3c3a4 100644
--- a/scripts/IceStormUtil.py
+++ b/scripts/IceStormUtil.py
@@ -21,7 +21,7 @@ origIceBoxService = ' --Ice.Admin.Endpoints="default -p {0}"' + \
origIceBoxEndpoints = ' --IceBoxAdmin.ServiceManager.Proxy="IceBox{0}/admin -f IceBox.ServiceManager: default -p {0}"'
-# Turn off the dispatch and cofnnection warnings -- they are expected
+# Turn off the dispatch and connection warnings -- they are expected
# when using a replicated IceStorm.
origIceStormService = ' --IceBox.Service.IceStorm=IceStormService,' + TestUtil.getIceSoVersion() + ':createIceStorm' + \
' --IceStorm.TopicManager.Endpoints="default -p %d"' + \
@@ -129,7 +129,7 @@ class Replicated(IceStormUtil):
self.dbHome.append(dbHome)
TestUtil.cleanDbDir(dbHome)
- self.iceStormDBEnv.append(' --IceStorm.LMDB.Path="%s"' % dbHome)
+ self.iceStormDBEnv.append(' --IceStorm.LMDB.MapSize=1 --IceStorm.LMDB.Path="%s"' % dbHome)
self.procs.append(None)
topicReplicaProxy = '%s/TopicManager:%s' % (instanceName, replicaTopicManagerEndpoints)
@@ -226,7 +226,7 @@ class NonReplicated(IceStormUtil):
self.dbHome = os.path.join(self.testdir, self.dbDir)
TestUtil.cleanDbDir(self.dbHome)
- self.iceStormDBEnv = ' --IceStorm.LMDB.Path="%s"' % self.dbHome
+ self.iceStormDBEnv = ' --IceStorm.LMDB.MapSize=1 --IceStorm.LMDB.Path="%s"' % self.dbHome
def clean(self):
TestUtil.cleanDbDir(self.dbHome)