Skip to content

Commit

Permalink
fix(rbac): set up higher jest timeout for rbac db tests (#1163)
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksandr Andriienko <[email protected]>
  • Loading branch information
AndrienkoAleksandr authored Feb 2, 2024
1 parent 8db80b9 commit b8541f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import {
POLICY_METADATA_TABLE,
} from './policy-metadata-storage';

jest.setTimeout(60000);

describe('policy-metadata-db-table', () => {
const policy = ['role:default/team-a', 'catalog-entity', 'read', 'allow'];
const policyStr = policyToString(policy);
Expand Down
2 changes: 2 additions & 0 deletions plugins/rbac-backend/src/database/role-metadata.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import {
RoleMetadataDao,
} from './role-metadata';

jest.setTimeout(60000);

describe('role-metadata-db-table', () => {
const databases = TestDatabases.create({
ids: ['POSTGRES_13', 'SQLITE_3'],
Expand Down

0 comments on commit b8541f3

Please sign in to comment.