
- Execute test groups in serial to make sure no more than 2 database instance are created at the same time. - Remove some unneccesary tests - Remove unneeded datastore, e.g. 'Test_Datastore_1' - Remove unsupported trovestack subcommands - Move unsupported DIB elements to the 'deprecated-elements' folder - Decrease default value of 'agent_call_high_timeout' to 5min - Add initial_deplay for pooling task - Use socket file to connect with database instead of using localhost IP Change-Id: Ie5030a671fbeb453eafa6cbe04e08da7b52e33c9
26 lines
492 B
Bash
Executable File
26 lines
492 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
set -o xtrace
|
|
|
|
# Remove the default pid file
|
|
rm -f /var/run/mongodb.pid
|
|
|
|
|
|
cat > /etc/mongod.conf << '_EOF_'
|
|
storage.dbPath: /var/lib/mongodb
|
|
security.authorization: enabled
|
|
storage.engine: wiredTiger
|
|
storage.journal.enabled: true
|
|
systemLog.destination: file
|
|
systemLog.logAppend: true
|
|
systemLog.path: /var/log/mongodb/mongod.log
|
|
_EOF_
|
|
|
|
|
|
cat > /etc/mongos.conf << '_EOF_'
|
|
systemLog.destination: file
|
|
systemLog.logAppend: true
|
|
systemLog.path: /var/log/mongodb/mongos.log
|
|
_EOF_
|