Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

e2ebind and composeglass tests fail sometimes #22

Open
diracdeltas opened this issue Mar 19, 2015 · 0 comments
Open

e2ebind and composeglass tests fail sometimes #22

diracdeltas opened this issue Mar 19, 2015 · 0 comments

Comments

@diracdeltas
Copy link
Contributor

e2ebind_test and composeglass_test fail sometimes with these errors in Chrome stable:

Unit Test of e2e.ext.e2ebind [FAILED]
localhost:8000/src/javascript/crypto/e2e/extension/helper/e2ebind_test.html
15 of 15 tests run in 563ms.
14 passed, 1 failed.
38 ms/test. 171 files loaded.
ERROR in testAutoInstallGlass [Waiting for glass to be installed]
Missing a call to getDraft
Expected: 1 but was: 0
> (unknown)
> (unknown)
> goog.testing.Mock.$throwException at http://localhost:8000/javascript/closure/testing/mock.js:535:24
> goog.testing.StrictMock.$verify at http://localhost:8000/javascript/closure/testing/strictmock.js:119:12
> anonymous at http://localhost:8000/javascript/closure/testing/mockcontrol.js:91:7
> Array.forEach
> Object.goog.array.forEach at http://localhost:8000/javascript/closure/array/array.js:203:43
> goog.testing.MockControl.$verifyAll at http://localhost:8000/javascript/closure/testing/mockcontrol.js:90:14
> anonymous at http://localhost:8000/javascript/crypto/e2e/extension/helper/e2ebind_test.js:216:17
> anonymous at http://localhost:8000/javascript/crypto/e2e/extension/testingstubs.js:32:5
> testAutoInstallGlass at http://localhost:8000/javascript/crypto/e2e/extension/helper/e2ebind_test.js:215:10
> goog.testing.TestCase.Test.execute at http://localhost:8000/javascript/closure/testing/testcase.js:1293:12
> goog.testing.AsyncTestCase.doExecute_ at http://localhost:8000/javascript/closure/testing/asynctestcase.js:878:19
> goog.testing.AsyncTestCase.callTopOfStackFunc_ at http://localhost:8000/javascript/closure/testing/asynctestcase.js:756:10
> goog.testing.AsyncTestCase.pump_ at http://localhost:8000/javascript/closure/testing/asynctestcase.js:805:16
> goog.testing.AsyncTestCase.runTests at http://localhost:8000/javascript/closure/testing/asynctestcase.js:508:8
> goog.testing.TestRunner.execute at http://localhost:8000/javascript/closure/testing/testrunner.js:270:19

Unit Test of e2e.ext.ui.ComposeGlass [FAILED]
localhost:8000/src/javascript/crypto/e2e/extension/ui/glass/composeglass_test.html
8 of 8 tests run in 1948ms.
6 passed, 2 failed.
244 ms/test. 0 files loaded.
ERROR in testRenderAndImportKey [Waiting for keys to be imported]
Expected <test 4,[email protected]> (Array) but was <test 4> (Array)
: Expected 2-element array but got a 1-element array
> _assert at http://localhost:8000/javascript/closure/testing/asynctestcase.js:634:26
> assertObjectEquals at http://localhost:8000/javascript/closure/testing/asserts.js:735:28
> assertArrayEquals at http://localhost:8000/javascript/closure/testing/asserts.js:818:63
> anonymous at http://localhost:8000/javascript/crypto/e2e/extension/ui/glass/composeglass_test.js:254:37
> anonymous at http://localhost:8000/javascript/crypto/e2e/extension/testingstubs.js:32:5
> anonymous at http://localhost:8000/javascript/crypto/e2e/extension/ui/glass/composeglass_test.js:252:12
> anonymous at http://localhost:8000/javascript/crypto/e2e/extension/testingstubs.js:32:5
> testRenderAndImportKey at http://localhost:8000/javascript/crypto/e2e/extension/ui/glass/composeglass_test.js:250:10
> goog.testing.TestCase.Test.execute at http://localhost:8000/javascript/closure/testing/testcase.js:1293:12
> goog.testing.AsyncTestCase.doExecute_ at http://localhost:8000/javascript/closure/testing/asynctestcase.js:878:19
> goog.testing.AsyncTestCase.callTopOfStackFunc_ at http://localhost:8000/javascript/closure/testing/asynctestcase.js:756:10
> goog.testing.AsyncTestCase.pump_ at http://localhost:8000/javascript/closure/testing/asynctestcase.js:805:16

ERROR in testRenderWithMissingRecipient [Waiting for keys to be imported]
Missing a call to insertMessageIntoPage_
Expected: 1 but was: 0
> (unknown)
> (unknown)
> goog.testing.Mock.$throwException at http://localhost:8000/javascript/closure/testing/mock.js:535:24
> goog.testing.StrictMock.$verify at http://localhost:8000/javascript/closure/testing/strictmock.js:119:12
> anonymous at http://localhost:8000/javascript/closure/testing/mockcontrol.js:91:7
> Array.forEach
> Object.goog.array.forEach at http://localhost:8000/javascript/closure/array/array.js:203:43
> goog.testing.MockControl.$verifyAll at http://localhost:8000/javascript/closure/testing/mockcontrol.js:90:14
> anonymous at http://localhost:8000/javascript/crypto/e2e/extension/ui/glass/composeglass_test.js:235:17
> anonymous at http://localhost:8000/javascript/crypto/e2e/extension/testingstubs.js:32:5
> testRenderWithMissingRecipient at http://localhost:8000/javascript/crypto/e2e/extension/ui/glass/composeglass_test.js:226:10
> goog.testing.TestCase.Test.execute at http://localhost:8000/javascript/closure/testing/testcase.js:1293:12
> goog.testing.AsyncTestCase.doExecute_ at http://localhost:8000/javascript/closure/testing/asynctestcase.js:878:19
> goog.testing.AsyncTestCase.callTopOfStackFunc_ at http://localhost:8000/javascript/closure/testing/asynctestcase.js:756:10
> goog.testing.AsyncTestCase.pump_ at http://localhost:8000/javascript/closure/testing/asynctestcase.js:805:16

They seem to always pass when run individually though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant