Bug 925521 - Fix yet another test with a hardcoded version. r=me, a=bajaj
authorRichard Newman <rnewman@mozilla.com>
Tue, 29 Oct 2013 15:00:35 -0700
changeset 166400 cbd566346605bd899f4ae675d61219a1fd96d436
parent 166399 a4a7cd7883ccad80a9dfccb41041403f6683f5f9
child 166401 be1b5053297025aae1d02f29490d0fbaa16fac40
push id3066
push userakeybl@mozilla.com
push dateMon, 09 Dec 2013 19:58:46 +0000
treeherdermozilla-beta@a31a0dce83aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, bajaj
bugs925521
milestone27.0a2
Bug 925521 - Fix yet another test with a hardcoded version. r=me, a=bajaj
browser/base/content/test/general/browser_urlbar_search_healthreport.js
--- a/browser/base/content/test/general/browser_urlbar_search_healthreport.js
+++ b/browser/base/content/test/general/browser_urlbar_search_healthreport.js
@@ -18,17 +18,17 @@ function test() {
   let reporter = Cc["@mozilla.org/datareporting/service;1"]
                    .getService()
                    .wrappedJSObject
                    .healthReporter;
   ok(reporter, "Health Reporter available.");
   reporter.onInit().then(function onInit() {
     let provider = reporter.getProvider("org.mozilla.searches");
     ok(provider, "Searches provider is available.");
-    let m = provider.getMeasurement("counts", 2);
+    let m = provider.getMeasurement("counts", 3);
 
     m.getValues().then(function onData(data) {
       let now = new Date();
       let oldCount = 0;
 
       // This will to be need changed if default search engine is not Google.
       let field = "google.urlbar";