Removes Flaky PG Tests from test suite (#2632)

Removes some tests from running in the suite as they fail randomly on Travis
This commit is contained in:
Florent Vilmart
2016-09-01 00:09:28 -04:00
committed by GitHub
parent be9fb435dd
commit ac11e03e24
4 changed files with 7 additions and 7 deletions

View File

@@ -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");

View File

@@ -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 = [];

View File

@@ -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++) {

View File

@@ -1080,7 +1080,7 @@ export class PostgresStorageAdapter {
]);
return Promise.all(promises).then(() => {
debug(`initialzationDone in ${new Date().getTime() - now}`);
})
}, (err) => {});
}
}