diff --git a/system-test/bigtable.ts b/system-test/bigtable.ts index 3bf42f1e0..8ace09947 100644 --- a/system-test/bigtable.ts +++ b/system-test/bigtable.ts @@ -155,9 +155,8 @@ describe('Bigtable', () => { it('should test Iam permissions for the instance', async () => { const permissions = ['bigtable.tables.get', 'bigtable.tables.readRows']; - const [grantedPermissions] = await INSTANCE.testIamPermissions( - permissions - ); + const [grantedPermissions] = + await INSTANCE.testIamPermissions(permissions); assert.strictEqual(grantedPermissions.length, permissions.length); permissions.forEach(permission => { assert.strictEqual(grantedPermissions.includes(permission), true); diff --git a/test/readrows.ts b/test/readrows.ts index 11d8a4597..b464d640c 100644 --- a/test/readrows.ts +++ b/test/readrows.ts @@ -42,7 +42,9 @@ describe('Bigtable/ReadRows', () => { service = new BigtableClientMockService(server); }); - it('should create read stream and read synchronously', done => { + it('should create read stream and read synchronously', function (done) { + this.timeout(60000); + // 1000 rows must be enough to reproduce issues with losing the data and to create backpressure const keyFrom = 0; const keyTo = 1000;