Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
karenc-bq committed Oct 24, 2024
1 parent 8f7f05e commit f917c60
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/aurora_performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
run-integration-tests:
strategy:
matrix:
db: [ mysql, pg ]
db: [mysql, pg]

name: Run Aurora ${{ matrix.db }} container performance tests
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions examples/aws_driver_example/aws_dev_postgresql_example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ErrorSimulatorManager.raiseErrorOnNextConnect(errorToRaise);
try {
await client.connect();
} catch {
// Handle errorToRaise.
// Handle errorToRaise.
}

// Another connection. Goes normal with no error.
Expand All @@ -59,7 +59,7 @@ simulator.raiseErrorOnNextCall(errorToRaise, "query");
try {
const result = await client.query("select 1");
} catch {
// Handle errorToRaise.
// Handle errorToRaise.
}

// Query executes normally without error.
Expand All @@ -84,7 +84,7 @@ const mismatch = await client.query("select 2");
try {
const match = await client.query("select 1");
} catch {
// Handle errorToRaise.
// Handle errorToRaise.
}

// Close connection.
Expand Down
4 changes: 1 addition & 3 deletions pg/lib/dialect/pg_database_dialect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
import { DatabaseDialect, DatabaseType } from "../../../common/lib/database_dialect/database_dialect";
import { HostListProviderService } from "../../../common/lib/host_list_provider_service";
import { HostListProvider } from "../../../common/lib/host_list_provider/host_list_provider";
import {
ConnectionStringHostListProvider
} from "../../../common/lib/host_list_provider/connection_string_host_list_provider";
import { ConnectionStringHostListProvider } from "../../../common/lib/host_list_provider/connection_string_host_list_provider";
import { AwsWrapperError } from "../../../common/lib/utils/errors";
import { DatabaseDialectCodes } from "../../../common/lib/database_dialect/database_dialect_codes";
import { TransactionIsolationLevel } from "../../../common/lib/utils/transaction_isolation_level";
Expand Down

0 comments on commit f917c60

Please sign in to comment.