Skip to content

Commit

Permalink
Revert "test: Add retries to increase reliability of test (googleapis…
Browse files Browse the repository at this point in the history
…#1319)"

This reverts commit b4db276.
  • Loading branch information
danieljbruce committed Apr 5, 2024
1 parent 1a6f59a commit 58149e9
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions system-test/read-rows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {describe, it, afterEach, beforeEach} from 'mocha';
import * as sinon from 'sinon';
import {EventEmitter} from 'events';
import {Test} from './testTypes';
import {ServiceError, GrpcClient, GoogleError, CallOptions} from 'google-gax';
import {ServiceError, GrpcClient, GoogleError} from 'google-gax';
import {PassThrough} from 'stream';

const {grpc} = new GrpcClient();
Expand Down Expand Up @@ -96,15 +96,7 @@ describe('Bigtable/Table', () => {
},
});
await operation.promise();
const gaxOptions: CallOptions = {
retry: {
retryCodes: [grpc.status.DEADLINE_EXCEEDED, grpc.status.NOT_FOUND],
},
maxRetries: 10,
};
await table.create({
gaxOptions,
});
await table.create({});
await table.getRows(); // This is done to initialize the data client
await bigtable.close();
try {
Expand Down

0 comments on commit 58149e9

Please sign in to comment.