Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added entropy to database names created across bulk tests for @azure/cosmso #26625

Merged
merged 2 commits into from
Jul 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,7 @@ describe("test bulk operations", async function () {
readItemId = addEntropy("item1");
const dataset: BulkTestDataSet = {
...defaultBulkTestDataSet,
dbName: addEntropy("respects order"),
documentToCreate: [{ id: readItemId, key: "A", class: "2010" }],
operations: [
{
Expand Down Expand Up @@ -812,6 +813,7 @@ describe("test bulk operations", async function () {
it("424 errors for operations after an error", async function () {
const dataset: BulkTestDataSet = {
...defaultBulkTestDataSet,
dbName: addEntropy("424 errors"),
documentToCreate: [],
operations: [
{
Expand All @@ -835,6 +837,7 @@ describe("test bulk operations", async function () {
it("Continues after errors with continueOnError true", async function () {
const dataset: BulkTestDataSet = {
...defaultBulkTestDataSet,
dbName: addEntropy("continueOnError"),
documentToCreate: [],
bulkOperationOptions: {
continueOnError: true,
Expand Down Expand Up @@ -862,6 +865,7 @@ describe("test bulk operations", async function () {
it("autogenerates IDs for Create operations", async function () {
const dataset: BulkTestDataSet = {
...defaultBulkTestDataSet,
dbName: addEntropy("autogenerateIDs"),
operations: [
{
description: "Operation should fail with invalid ttl.",
Expand All @@ -882,6 +886,7 @@ describe("test bulk operations", async function () {
const item3Id = addEntropy("item2");
const dataset: BulkTestDataSet = {
...defaultBulkTestDataSet,
dbName: addEntropy("handle special partition keys"),
documentToCreate: [
{ id: item1Id, key: null, class: "2010" },
{ id: item2Id, key: 0 },
Expand Down