Change logs match string to something that (I think) always appears

This commit is contained in:
Emily Stark
2014-02-13 14:39:11 -08:00
parent 6cf1a76332
commit f4d5e44e75
2 changed files with 5 additions and 1 deletions

View File

@@ -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

View File

@@ -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"');
}