Skip to content

Commit

Permalink
chore: fix broken upgrade test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomvbe committed Oct 21, 2023
1 parent c6c65b8 commit f2400a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const eventstreamsUrl = 'http://localhost:8080/admin/api/v1/eventstreams';
const commonMongoProperties = ['_id', '_class']
const commonFragmentProperties = [...commonMongoProperties, 'fragmentPairs', 'immutable', 'relations', 'root', 'viewName'];

const fragmentationFragmentProperties = [...commonFragmentProperties, 'collectionName', 'nrOfMembersAdded', 'parentId'];
const fragmentationFragmentProperties = [...commonFragmentProperties, 'collectionName', 'numberOfMembers', 'parentId'];
const fragmentationFragmentIndices = ['_id_', 'root', 'viewName', 'immutable', 'parentId', 'collectionName'];
const fragmentationAllocationProperties = [...commonMongoProperties, 'viewName'];

Expand Down
4 changes: 2 additions & 2 deletions tests/021.server-upgrade/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,15 @@ The server upgrade will include changesets that alter the database schema. We wi
"collectionName",
"fragmentPairs",
"immutable",
"nrOfMembersAdded",
"numberOfMembers",
"parentId",
"relations",
"root",
"viewName"
]
```

> **Note**: Changeset-1 will add the `softDeleted`, `parentId` and `immutableTimestamp` values to the model and will replace the `members` array with a value indicating the amount of members in the fragment in `nrOfMembersAdded`
> **Note**: Changeset-1 will add the `softDeleted`, `parentId` and `immutableTimestamp` values to the model and will replace the `members` array with a value indicating the amount of members in the fragment in `numberOfMembers`
> **Note**: Changeset-3 will add the `collectionName`
> **Note**: Changeset-6 will remove the `softDeleted` and `immutableTimestamp` values from the model

Expand Down

0 comments on commit f2400a5

Please sign in to comment.