mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-04-18 12:29:48 +01:00
Default throughput bucket (#2460)
* default throughput bucket * nit * show inactive buckets * add e2e tests for default throughput bucket * for test sql containers, use throughput of 4000 * remove container throughput on creation * added offer throughput * add default throughput bucket info link * add text localization * upgrade playwright * Fix flaky permissionsScreen test by using unrouteAll with ignoreErrors * fix: move container creation to beforeAll to reduce CI shard timeout * remove comment --------- Co-authored-by: Asier Isayas <aisayas@microsoft.com>
This commit is contained in:
@@ -223,10 +223,15 @@ export async function createTestSQLContainer({
|
||||
|
||||
const { database } = await client.databases.createIfNotExists({ id: databaseId });
|
||||
try {
|
||||
const { container } = await database.containers.createIfNotExists({
|
||||
id: containerId,
|
||||
partitionKey,
|
||||
});
|
||||
const { container } = await database.containers.createIfNotExists(
|
||||
{
|
||||
id: containerId,
|
||||
partitionKey,
|
||||
},
|
||||
{
|
||||
offerThroughput: 4000,
|
||||
},
|
||||
);
|
||||
if (includeTestData) {
|
||||
const batchCount = TestData.length / 100;
|
||||
for (let i = 0; i < batchCount; i++) {
|
||||
|
||||
Reference in New Issue
Block a user