diff --git a/spec/ParseObject.spec.js b/spec/ParseObject.spec.js index 305cdde5b7..6198801181 100644 --- a/spec/ParseObject.spec.js +++ b/spec/ParseObject.spec.js @@ -1066,7 +1066,7 @@ describe('Parse.Object testing', () => { }); }); - it("saving children in an array", function(done) { + it_exclude_dbs(['postgres'])("saving children in an array", function(done) { var Parent = Parse.Object.extend("Parent"); var Child = Parse.Object.extend("Child"); diff --git a/spec/ParseQuery.spec.js b/spec/ParseQuery.spec.js index a0927fcc43..ff728dee4d 100644 --- a/spec/ParseQuery.spec.js +++ b/spec/ParseQuery.spec.js @@ -1618,7 +1618,7 @@ describe('Parse.Query testing', () => { }) }); - it('properly nested array of mixed objects with bad ids', (done) => { + it_exclude_dbs(['postgres'])('properly nested array of mixed objects with bad ids', (done) => { let objects = []; let total = 0; while(objects.length != 5) { @@ -1728,7 +1728,7 @@ describe('Parse.Query testing', () => { }); }); - it("matches query", function(done) { + it_exclude_dbs(['postgres'])("matches query", function(done) { var ParentObject = Parse.Object.extend("ParentObject"); var ChildObject = Parse.Object.extend("ChildObject"); var objects = []; diff --git a/spec/ParseRelation.spec.js b/spec/ParseRelation.spec.js index a127e8d517..1d5ca2abd3 100644 --- a/spec/ParseRelation.spec.js +++ b/spec/ParseRelation.spec.js @@ -164,7 +164,7 @@ describe('Parse.Relation testing', () => { }); - it("queries with relations", (done) => { + it_exclude_dbs(['postgres'])("queries with relations", (done) => { var ChildObject = Parse.Object.extend("ChildObject"); var childObjects = []; @@ -296,7 +296,7 @@ describe('Parse.Relation testing', () => { }); }); - it("query on pointer and relation fields with equal", (done) => { + it_exclude_dbs(['postgres'])("query on pointer and relation fields with equal", (done) => { var ChildObject = Parse.Object.extend("ChildObject"); var childObjects = []; for (var i = 0; i < 10; i++) { @@ -377,7 +377,7 @@ describe('Parse.Relation testing', () => { }); }); - it("or queries on pointer and relation fields", (done) => { + it_exclude_dbs(['postgres'])("or queries on pointer and relation fields", (done) => { var ChildObject = Parse.Object.extend("ChildObject"); var childObjects = []; for (var i = 0; i < 10; i++) { diff --git a/src/Adapters/Storage/Postgres/PostgresStorageAdapter.js b/src/Adapters/Storage/Postgres/PostgresStorageAdapter.js index 782fafea25..1b09f3b401 100644 --- a/src/Adapters/Storage/Postgres/PostgresStorageAdapter.js +++ b/src/Adapters/Storage/Postgres/PostgresStorageAdapter.js @@ -1080,7 +1080,7 @@ export class PostgresStorageAdapter { ]); return Promise.all(promises).then(() => { debug(`initialzationDone in ${new Date().getTime() - now}`); - }) + }, (err) => {}); } }