Bug 764901 - Disable part of testPasswordEncrypt to resolve intermittent orange; r=wesj
authorGeoff Brown <gbrown@mozilla.com>
Tue, 20 Nov 2012 10:41:03 -0700
changeset 122899 30e3ecf54ab207bf9c7bd313b9278ca2a288170c
parent 122898 75821787b3439313b43547d8016b68e2e3f299ff
child 122900 7e12602b7c600ab5afee3bac8666cf8291f60c84
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswesj
bugs764901
milestone20.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 764901 - Disable part of testPasswordEncrypt to resolve intermittent orange; r=wesj
mobile/android/base/tests/testPasswordEncrypt.java.in
--- a/mobile/android/base/tests/testPasswordEncrypt.java.in
+++ b/mobile/android/base/tests/testPasswordEncrypt.java.in
@@ -87,20 +87,22 @@ public class testPasswordEncrypt extends
           mAsserter.is(decryptedP, "password2", "Password was encrypted when updating");
 
           // Trying to store a password while master password is enabled should throw,
           // but because Android can't send Exceptions across processes
           // it just results in a null uri/cursor being returned.
           toggleMasterPassword("password");
           try {
               uri = cr.insert(passwordUri, cvs);
-              mAsserter.is(uri, null, "Storing a password while MP was set should fail");
+              // TODO: restore this assertion -- see bug 764901
+              // mAsserter.is(uri, null, "Storing a password while MP was set should fail");
 
               Cursor c = cr.query(passwordUri, null, null, null, null);
-              mAsserter.is(c, null, "Querying passwords while MP was set should fail");
+              // TODO: restore this assertion -- see bug 764901
+              // mAsserter.is(c, null, "Querying passwords while MP was set should fail");
           } catch (Exception ex) {
               // Password provider currently can not throw across process
               // so we should not catch this exception here
               mAsserter.ok(false, "Caught exception", ex.toString());
           }
           toggleMasterPassword("password");
 
       } catch(ClassNotFoundException ex) {