gregglind / micropilot

Lightweight event monitoring and observation in Firefox addons.
http://gregglind.github.com/micropilot/
4 stars 2 forks source link

test-performance has intermittent failures. #15

Closed gregglind closed 11 years ago

gregglind commented 11 years ago

When run in isolation it's fine, on all versions. WEIRD!

info: micropilot: executing 'test-micropilot.test watch a channel has annotated data (replaced _watchfn)' info: micropilot: pass: undefined info: micropilot: pass: undefined info: micropilot: executing 'test-performance.test many async writes' info: micropilot: pass: async, clear the data and db info: micropilot: pass: undefined error: micropilot: fail: undefined - true == false info: micropilot: Traceback (most recent call last): File "resource://micropilot-at-ux-dot-mozilla-dot-org/micropilot/lib/micropilot.js", line 409, in null resolve(data); File "resource://micropilot-at-ux-dot-mozilla-dot-org/addon-sdk/lib/sdk/core/promise.js", line 149, in resolve while (pending.length) result.then.apply(result, pending.shift()) File "resource://micropilot-at-ux-dot-mozilla-dot-org/addon-sdk/lib/sdk/core/promise.js", line 38, in then return { then: function then(resolve) { resolve(value) } } File "resource://micropilot-at-ux-dot-mozilla-dot-org/addon-sdk/lib/sdk/core/promise.js", line 123, in resolved function resolved(value) { deferred.resolve(resolve(value)) } File "resource://micropilot-at-ux-dot-mozilla-dot-org/addon-sdk/lib/sdk/core/promise.js", line 56, in effort try { return f(options) } File "resource://micropilot-at-ux-dot-mozilla-dot-org/micropilot/tests/test-micropilot.js", line 320, in null assert.ok(data[0]['b'] == 1); File "resource://micropilot-at-ux-dot-mozilla-dot-org/addon-sdk/lib/sdk/test/assert.js", line 94, in ok operator: "==" File "resource://micropilot-at-ux-dot-mozilla-dot-org/addon-sdk/lib/sdk/test/assert.js", line 80, in fail this._log.fail(message); File "resource://micropilot-at-ux-dot-mozilla-dot-org/addon-sdk/lib/sdk/deprecated/unit-test.js", line 88, in fail this.console.trace(); File "resource://micropilot-at-ux-dot-mozilla-dot-org/addon-sdk/lib/sdk/lang/functional.js", line 71, in null return function() fn.apply(this, args.concat(Array.slice(arguments))); info: micropilot: pass: undefined info: micropilot: min. writes/sec: 179.37219730941703 info: micropilot: CWD: /Users/glind/gits/micropilot info: micropilot: coverstats: /Users/glind/gits/micropilot/coverstats-micropilot@ux.mozilla.org.json

39 of 40 tests passed.

The following tests failed: test-performance.test many async writes: failure