mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-30 07:04:12 +00:00
update container creation throughpout to be 5000
This commit is contained in:
@@ -102,9 +102,12 @@ test.describe("Manual throughput", () => {
|
|||||||
await scaleTab.click();
|
await scaleTab.click();
|
||||||
});
|
});
|
||||||
|
|
||||||
test.afterAll("Delete Test Database", async () => {
|
if (!process.env.CI) {
|
||||||
await context?.dispose();
|
test.afterAll("Delete Test Database", async () => {
|
||||||
});
|
await context?.dispose();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
test("Update manual throughput", async () => {
|
test("Update manual throughput", async () => {
|
||||||
await getThroughputInput(explorer, "manual").fill(TEST_MANUAL_THROUGHPUT_RU_2K.toString());
|
await getThroughputInput(explorer, "manual").fill(TEST_MANUAL_THROUGHPUT_RU_2K.toString());
|
||||||
|
|||||||
@@ -115,6 +115,7 @@ export async function createTestSQLContainer({
|
|||||||
const { container } = await database.containers.createIfNotExists({
|
const { container } = await database.containers.createIfNotExists({
|
||||||
id: containerId,
|
id: containerId,
|
||||||
partitionKey,
|
partitionKey,
|
||||||
|
throughput: 5000
|
||||||
});
|
});
|
||||||
if (includeTestData) {
|
if (includeTestData) {
|
||||||
const batchCount = TestData.length / 100;
|
const batchCount = TestData.length / 100;
|
||||||
|
|||||||
Reference in New Issue
Block a user