Closed
Bug 857750
Opened 13 years ago
Closed 13 years ago
TEST-UNEXPECTED-FAIL | tests/test-self.testSelf | self.loadReason is always `startup` on test runs ("install" != "startup")
Categories
(Add-on SDK Graveyard :: General, defect)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: KWierso, Assigned: ochameau)
References
()
Details
Attachments
(2 files)
After landing the fix from bug 857598, the m-c tests went from red to orange, all platforms. Does this test just need to be fixed/removed?
TEST-UNEXPECTED-FAIL | tests/test-self.testSelf | self.loadReason is always `startup` on test runs ("install" != "startup")
TEST-INFO | Traceback (most recent call last):
File "resource://extensions.modules.b3ba8a7c-0230-412c-9ee2-5d3dac0ce0bf-at-jetpack.commonjs.path/sdk/timers.js", line 31, in notify
callback.apply(null, args);
File "resource://extensions.modules.b3ba8a7c-0230-412c-9ee2-5d3dac0ce0bf-at-jetpack.commonjs.path/sdk/deprecated/unit-test.js", line 288, in null
timer.setTimeout(function() { onDone(self); }, 0);
File "resource://extensions.modules.b3ba8a7c-0230-412c-9ee2-5d3dac0ce0bf-at-jetpack.commonjs.path/sdk/deprecated/unit-test.js", line 458, in null
options.onDone(self);
File "resource://extensions.modules.b3ba8a7c-0230-412c-9ee2-5d3dac0ce0bf-at-jetpack.commonjs.path/sdk/deprecated/unit-test.js", line 440, in runNextTest
self.start({test: test, onDone: runNextTest});
File "resource://extensions.modules.b3ba8a7c-0230-412c-9ee2-5d3dac0ce0bf-at-jetpack.commonjs.path/sdk/deprecated/unit-test.js", line 471, in start
this.test.testFunction(this);
File "resource://extensions.modules.b3ba8a7c-0230-412c-9ee2-5d3dac0ce0bf-at-jetpack.commonjs.path.tests/test-self.js", line 34, in exports.testSelf
"self.loadReason is always `startup` on test runs");
File "resource://extensions.modules.b3ba8a7c-0230-412c-9ee2-5d3dac0ce0bf-at-jetpack.commonjs.path/sdk/deprecated/unit-test.js", line 189, in assertEqual
this.fail(message);
File "resource://extensions.modules.b3ba8a7c-0230-412c-9ee2-5d3dac0ce0bf-at-jetpack.commonjs.path/sdk/deprecated/unit-test.js", line 84, in fail
this.console.testMessage(false, false, this.test.name, message);
File "resource://extensions.modules.b3ba8a7c-0230-412c-9ee2-5d3dac0ce0bf-at-jetpack.commonjs.path/sdk/test/harness.js", line 380, in testMessage
this.trace();
| Reporter | ||
Updated•13 years ago
|
Assignee: nobody → poirot.alex
Severity: normal → major
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #733016 -
Flags: review?(dtownsend+bugmail)
Updated•13 years ago
|
Attachment #733016 -
Flags: review?(dtownsend+bugmail) → review+
Comment 2•13 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/930484ac9ee9dba0a6e2f26dac3f4c1b8eecf351
Bug 857750 - TEST-UNEXPECTED-FAIL | tests/test-self.testSelf | self.loadReason is always `startup` on test runs ("install" != "startup")
https://github.com/mozilla/addon-sdk/commit/4252a4b592e1f80abcddf302af8800046eb86967
Merge pull request #919 from ochameau/bug857750
Bug 857750 - TEST-UNEXPECTED-FAIL | tests/test-self.testSelf | self.loadReason is always `startup` on test runs ("install" != "startup") r=mossop
| Reporter | ||
Comment 3•13 years ago
|
||
So I landed this, but now Aurora's failing this test. That versionInRange should have started with 23.0a1 as the lower bound, right?
| Reporter | ||
Comment 4•13 years ago
|
||
If that's the case, here we are.
Attachment #733117 -
Flags: review?(dtownsend+bugmail)
| Reporter | ||
Updated•13 years ago
|
Attachment #733117 -
Attachment is patch: false
Attachment #733117 -
Attachment mime type: text/plain → text/html
Comment 5•13 years ago
|
||
Comment on attachment 733117 [details]
Link to pull request 921
Bah
Attachment #733117 -
Flags: review?(dtownsend+bugmail) → review+
Comment 6•13 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/560e3304f1a8ad9ef4b11ec254e4d2a84eaf6c53
Bug 857750 followup - Change the versionInRange() check to account for the central->aurora merge earlier this week
https://github.com/mozilla/addon-sdk/commit/d9e7baabea1396569077c8970d19045f9b6de5cd
Merge pull request #921 from KWierso/fixtestself
Bug 857750 followup - Change the versionInRange() check to account for the central->aurora merge earlier this week. r=mossop
| Reporter | ||
Comment 7•13 years ago
|
||
And that should hopefully fix this bug for real.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•