Bug 1488176 - Disable failing test in a way that doesn't make it worse; rs=bustage-fix
authorGeoff Lankow <geoff@darktrojan.net>
Mon, 14 Jan 2019 19:44:56 +1300
changeset 33336 00d6b98310b3
parent 33335 4954bbdf8fc6
child 33337 ec1e8d938552
push id2368
push userclokep@gmail.com
push dateMon, 28 Jan 2019 21:12:50 +0000
treeherdercomm-beta@56d23c07d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix
bugs1488176
Bug 1488176 - Disable failing test in a way that doesn't make it worse; rs=bustage-fix
mail/components/extensions/test/xpcshell/test_ext_accounts.js
--- a/mail/components/extensions/test/xpcshell/test_ext_accounts.js
+++ b/mail/components/extensions/test/xpcshell/test_ext_accounts.js
@@ -86,29 +86,32 @@ add_task(async function test_accounts() 
 
       let result3 = await browser.accounts.get(account1Id);
       assertDeepEqual(result1[0], result3);
       let result4 = await browser.accounts.get(account2Id);
       assertDeepEqual(result2[1], result4);
 
       await awaitMessage("create folders");
       let result5 = await browser.accounts.get(account1Id);
+      let platformInfo = await browser.runtime.getPlatformInfo();
       assertDeepEqual([{
           accountId: account1Id,
           name: "Trash",
           path: "/Trash",
         }, {
           accountId: account1Id,
           name: "foo bar",
           path: "/Trash/foo bar",
         }, {
-        //   accountId: account1Id,
-        //   name: "Ϟ",
-        //   path: "/Trash/Ϟ",
-        // }, {
+          accountId: account1Id,
+          name: "Ϟ",
+          // This character is not supported on Windows, so it gets hashed,
+          // by NS_MsgHashIfNecessary.
+          path: platformInfo.os == "win" ? "/Trash/b52bc214" : "/Trash/Ϟ",
+        }, {
           accountId: account1Id,
           name: "Outbox",
           path: "/Unsent Messages",
         }], result5.folders);
 
       browser.test.notifyPass("finished");
     },
     manifest: {