Closed nolanlawson closed 6 years ago
Apparently a legit failing test:
Error: {"text1":1,"text2":"fun"} deepEqual {"id":1,"text2":"fun","text3":null}
{anonymous}() test-bundle.js:41351
failed issue #43 - string/null
starting sqlite plugin test suite :: dedicated db test suite - in-memory :: valid read transaction
Error: {"id":"toto","text2":"haha","text3":null} deepEqual {"text1":"toto","text2":"haha"}
{anonymous}() test-bundle.js:41385
failed valid read transaction
Error: there were failing tests
at /Users/travis/build/nolanlawson/cordova-plugin-sqlite-2/bin/test-appium.js:129:13
at _fulfilled (/Users/travis/build/nolanlawson/cordova-plugin-sqlite-2/node_modules/wd/node_modules/q/q.js:834:54)
at self.promiseDispatch.done (/Users/travis/build/nolanlawson/cordova-plugin-sqlite-2/node_modules/wd/node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch (/Users/travis/build/nolanlawson/cordova-plugin-sqlite-2/node_modules/wd/node_modules/q/q.js:796:13)
at /Users/travis/build/nolanlawson/cordova-plugin-sqlite-2/node_modules/wd/node_modules/q/q.js:604:44
at runSingle (/Users/travis/build/nolanlawson/cordova-plugin-sqlite-2/node_modules/wd/node_modules/q/q.js:137:13)
at flush (/Users/travis/build/nolanlawson/cordova-plugin-sqlite-2/node_modules/wd/node_modules/q/q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
Fixed that, now there is another legit failure:
starting sqlite plugin test suite :: suite2 test.attachments.js-local :: fetch atts with open_revs and missing
Error in Success callbackId: SQLitePlugin436520833 : TypeError: Cannot read property 'replace' of null
Error: Uncaught TypeError: Cannot read property 'replace' of null (file:///android_asset/www/cordova.js:315)
global.onerror zuul-framework.js:6458
failed fetch atts with open_revs and missing
starting sqlite plugin test suite :: suite2 test.attachments.js-local :: issue 2803 should throw 412
Error: there were failing tests
at /Users/travis/build/nolanlawson/cordova-plugin-sqlite-2/bin/test-appium.js:129:13
at _fulfilled (/Users/travis/build/nolanlawson/cordova-plugin-sqlite-2/node_modules/wd/node_modules/q/q.js:834:54)
at self.promiseDispatch.done (/Users/travis/build/nolanlawson/cordova-plugin-sqlite-2/node_modules/wd/node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch (/Users/travis/build/nolanlawson/cordova-plugin-sqlite-2/node_modules/wd/node_modules/q/q.js:796:13)
at /Users/travis/build/nolanlawson/cordova-plugin-sqlite-2/node_modules/wd/node_modules/q/q.js:604:44
at runSingle (/Users/travis/build/nolanlawson/cordova-plugin-sqlite-2/node_modules/wd/node_modules/q/q.js:137:13)
at flush (/Users/travis/build/nolanlawson/cordova-plugin-sqlite-2/node_modules/wd/node_modules/q/q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
This failure only occurs on the Android tests, so it appears to be related to this PR
another try
whoo, success!
rebased version of #51