Skip to content

Removes Flaky PG Tests from test suite #2632

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 1, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec/ParseObject.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down
4 changes: 2 additions & 2 deletions spec/ParseQuery.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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 = [];
Expand Down
6 changes: 3 additions & 3 deletions spec/ParseRelation.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down Expand Up @@ -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++) {
Expand Down Expand Up @@ -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++) {
Expand Down
2 changes: 1 addition & 1 deletion src/Adapters/Storage/Postgres/PostgresStorageAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,7 @@ export class PostgresStorageAdapter {
]);
return Promise.all(promises).then(() => {
debug(`initialzationDone in ${new Date().getTime() - now}`);
})
}, (err) => {});
}
}

Expand Down