Skip to content

Commit

Permalink
[Tests] fix mocha tests related to type (#1299)
Browse files Browse the repository at this point in the history
Failure introduced here:
https://github.com/opensearch-project/OpenSearch-Dashboards/pull/1289/files

OpenSearch Archiver loads data to OpenSearch from data.json into OpenSearch for
E2E tests and integration tests but will need to verify if this causes breakage in
migration from older versions of the application.

Mocha tests do not run in the current CI so these were missed.

Issue resolved:
n/a

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
  • Loading branch information
kavilla committed Feb 28, 2022
1 parent efc7339 commit 8c9a9b3
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ describe('opensearchArchiver: createGenerateDocRecordsStream()', () => {
type: 'doc',
value: {
index: '.opensearch_dashboards_1',
type: undefined,
// TODO: verify no BWC issues here
// Removed: https://github.com/opensearch-project/OpenSearch/pull/2239
// type: undefined,
id: 1,
source: undefined,
},
Expand All @@ -146,7 +148,9 @@ describe('opensearchArchiver: createGenerateDocRecordsStream()', () => {
type: 'doc',
value: {
index: 'foo',
type: undefined,
// TODO: verify no BWC issues here
// Removed: https://github.com/opensearch-project/OpenSearch/pull/2239
// type: undefined,
id: 2,
source: undefined,
},
Expand Down

0 comments on commit 8c9a9b3

Please sign in to comment.