#!/bin/bash

noTableScanAndCleanTomcat

if [ -d sli/config/applications ]; then cp sli/config/applications/*.json /opt/tomcat/conf/ ; fi

resetDatabases

profileSwapAndPropGen

startSearchIndexer

adminUnitTests

deployAdmin

processApps $APPSTODEPLOY

Xvfb :6 -screen 0 1024x768x24 >/dev/null 2>&1 &
export DISPLAY=:6.0
cd $WORKSPACE/sli/acceptance-tests/
export LANG=en_US.UTF-8
bundle install --deployment
bundle exec rake FORCE_COLOR=true admintools_server_url=https://${NODE_NAME}.slidev.org:2001 ldap_hostname=ldap.slidev.org ldap_port=443 ldap_use_ssl=true ldap_base=ou=SLIAdmin,dc=slidev,dc=org email_imap_port=443 email_imap_host=mon.slidev.org adminToolsTests TOGGLE_TABLESCANS=1

EXITCODE=$?

mongo --eval "db.adminCommand( { setParameter: 1, notablescan: false } )"

exit $EXITCODE

#!/bin/bash

noTableScanAndCleanTomcat

if [ -d sli/config/applications ]; then cp sli/config/applications/*.json /opt/tomcat/conf/ ; fi

resetDatabases

profileSwapAndPropGen

startSearchIndexer

adminUnitTests

deployAdmin

processApps $APPSTODEPLOY

Xvfb :6 -screen 0 1024x768x24 >/dev/null 2>&1 &
export DISPLAY=:6.0
cd $WORKSPACE/sli/acceptance-tests/
export LANG=en_US.UTF-8
bundle install --deployment
bundle exec rake FORCE_COLOR=true admintools_server_url=https://${NODE_NAME}.slidev.org:2001 ldap_hostname=ldap.slidev.org ldap_port=443 ldap_use_ssl=true ldap_base=ou=SLIAdmin,dc=slidev,dc=org email_imap_port=8080 email_imap_host=mon.slidev.org adminToolsTests TOGGLE_TABLESCANS=1

EXITCODE=$?

mongo --eval "db.adminCommand( { setParameter: 1, notablescan: false } )"

exit $EXITCODE

Revert "Update ldap/smtp settings 2"
Revert "Update ldap/smtp settings 2"

This reverts commit 6d69a4a082ad78a7e894ae7eafbe39dcb369c8aa.
