Skip to content

Commit 0cf36a5

Browse files
authored
Merge pull request #6545 from neo4j/skip-flaky-test
Skip flaky tests on authorization
2 parents 0ba23dd + 40a09f2 commit 0cf36a5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/graphql/tests/integration/aggregations/where/authorization-with-aggregation-filter.int.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,10 @@ describe("Authorization with aggregation filter rule", () => {
211211
]);
212212
});
213213

214-
test("should authorize update operations on post with exactly two likes", async () => {
214+
// Test disabled due to flakyness. Enable once `validatePredicate` has been removed from update operations.
215+
// The flakyness is caused by the `AND` operation, that doesn't guarantee shortcircuit of each predicate
216+
// eslint-disable-next-line jest/no-disabled-tests
217+
test.skip("should authorize update operations on post with exactly two likes", async () => {
215218
const typeDefs = /* GraphQL */ `
216219
type ${User} @node {
217220
id: ID!

0 commit comments

Comments
 (0)