From c6ad5385599aab047f19aaaf8b8bb4a7ab97355d Mon Sep 17 00:00:00 2001 From: Senthamil Sindhu Date: Mon, 8 Apr 2024 15:58:10 -0700 Subject: [PATCH] Run npm format and tests --- src/Explorer/Tables/TableDataClient.ts | 6 +++++- test/cassandra/container.spec.ts | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Explorer/Tables/TableDataClient.ts b/src/Explorer/Tables/TableDataClient.ts index 555bdad2f..d14982646 100644 --- a/src/Explorer/Tables/TableDataClient.ts +++ b/src/Explorer/Tables/TableDataClient.ts @@ -732,7 +732,11 @@ export class CassandraAPIDataClient extends TableDataClient { } private useCassandraProxyEndpoint(api: string): boolean { - const activeCassandraProxyEndpoints: string[] = [CassandraProxyEndpoints.Development, CassandraProxyEndpoints.Mpac, CassandraProxyEndpoints.Prod]; + const activeCassandraProxyEndpoints: string[] = [ + CassandraProxyEndpoints.Development, + CassandraProxyEndpoints.Mpac, + CassandraProxyEndpoints.Prod, + ]; let canAccessCassandraProxy: boolean = userContext.databaseAccount.properties.publicNetworkAccess === "Enabled"; if (userContext.databaseAccount.properties.ipRules?.length > 0) { canAccessCassandraProxy = canAccessCassandraProxy && configContext.CASSANDRA_PROXY_OUTBOUND_IPS_ALLOWLISTED; diff --git a/test/cassandra/container.spec.ts b/test/cassandra/container.spec.ts index 48acddb79..cdf897850 100644 --- a/test/cassandra/container.spec.ts +++ b/test/cassandra/container.spec.ts @@ -7,7 +7,7 @@ jest.setTimeout(120000); test("Cassandra keyspace and table CRUD", async () => { const keyspaceId = generateUniqueName("keyspace"); const tableId = generateUniqueName("table"); - page.setDefaultTimeout(50000); + page.setDefaultTimeout(70000); await page.goto("https://localhost:1234/testExplorer.html?accountName=portal-cassandra-runner"); await page.waitForSelector("iframe");