summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTad Marshall <tad@10gen.com>2013-02-15 08:15:40 -0500
committerTad Marshall <tad@10gen.com>2013-02-15 08:15:40 -0500
commit96b3a6112d5fadc9a26a30ea8de0db32744bf931 (patch)
tree86a64c6dbe248a6da962070a6302262a4d6202ea
parentb73eb512ad5429bce3e796e53eaeb56a70e0140a (diff)
downloadmongo-96b3a6112d5fadc9a26a30ea8de0db32744bf931.tar.gz
SERVER-8217 Fix regex for timestamp
-rw-r--r--jstests/auth/log_user_basic.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/auth/log_user_basic.js b/jstests/auth/log_user_basic.js
index 9372e384e4c..554a5214289 100644
--- a/jstests/auth/log_user_basic.js
+++ b/jstests/auth/log_user_basic.js
@@ -16,7 +16,7 @@
* }
*/
var parseLog = function(line) {
- var THREAD_ID_PATTERN = / [12]?\d:\d\d:\d\d\.\d\d\d \[(.+)\] /;
+ var THREAD_ID_PATTERN = / [01]?\d:\d\d:\d\d\.\d\d\d \[(.+)\] /;
var ID_USER_PATTERN = new RegExp(THREAD_ID_PATTERN.source + 'user:([^ ]*) ');
var res = THREAD_ID_PATTERN.exec(line);