Bug 1461062: Follow-up: Update counts in test_cacheflush. r=bustage,test-only DONTBUILD
authorKris Maglione <maglione.k@gmail.com>
Wed, 16 May 2018 22:30:42 -0700
changeset 418599 34d13ae107cc912aee5847a70c8ad750166f9394
parent 418598 fec5efcc044996a163c55e06127d1b6480d9fa21
child 418600 9e0c05903821bd86d8481a7f1dbca11d64b5225d
push id103347
push usermaglione.k@gmail.com
push dateThu, 17 May 2018 05:31:01 +0000
treeherdermozilla-inbound@34d13ae107cc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage, test-only
bugs1461062
milestone62.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1461062: Follow-up: Update counts in test_cacheflush. r=bustage,test-only DONTBUILD MozReview-Commit-ID: GfItrbawDsf
toolkit/mozapps/extensions/test/xpcshell/test_cacheflush.js
--- a/toolkit/mozapps/extensions/test/xpcshell/test_cacheflush.js
+++ b/toolkit/mozapps/extensions/test/xpcshell/test_cacheflush.js
@@ -81,12 +81,12 @@ add_task(async function test_flush_unins
 
   // We should flush the installed XPI when uninstalling
   gExpectedFile = gProfD.clone();
   gExpectedFile.append("extensions");
   gExpectedFile.append("addon2@tests.mozilla.org.xpi");
 
   addon.uninstall();
 
-  equal(gCacheFlushCount, 1);
+  ok(gCacheFlushCount >= 1);
   gExpectedFile = null;
   gCacheFlushCount = 0;
 });