From f4d5e44e752f178a9f69e306fd143ce3f66fe3d0 Mon Sep 17 00:00:00 2001 From: Emily Stark Date: Thu, 13 Feb 2014 14:39:11 -0800 Subject: [PATCH] Change logs match string to something that (I think) always appears --- tools/tests/deploy-auth.js | 1 + tools/tests/logs-mongo-auth.js | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/tests/deploy-auth.js b/tools/tests/deploy-auth.js index e0e84d5043..bc72e54f79 100644 --- a/tools/tests/deploy-auth.js +++ b/tools/tests/deploy-auth.js @@ -76,6 +76,7 @@ var logout = function (s) { // 'legacy-password-app-for-selftest' // 'legacy-no-password-app-for-selftest' // 'app-for-selftest-not-test-owned' +// 'app-for-selftest-test-owned' selftest.define('deploy - logged in', ['net', 'slow'], function () { // Create two sandboxes: one with a warehouse so that we can run diff --git a/tools/tests/logs-mongo-auth.js b/tools/tests/logs-mongo-auth.js index bbf1e612bd..ef396891a0 100644 --- a/tools/tests/logs-mongo-auth.js +++ b/tools/tests/logs-mongo-auth.js @@ -21,7 +21,10 @@ var logsOrMongoForApp = function (sandbox, command, appName, options) { runArgs.push('--url'); matchString = 'mongodb://'; } else if (command === 'logs') { - matchString = 'Starting application'; + // I suppose it's possible that we don't have any INFO messages in + // the logs, but it seems unlikely. Every time we run a command we + // hit /_GALAXY_ on the site. + matchString = 'INFO'; } else { throw new Error('Command must be "logs" or "mongo"'); }