Skip to content

Commit

Permalink
add before after
Browse files Browse the repository at this point in the history
Signed-off-by: Qingyang(Abby) Hu <[email protected]>
  • Loading branch information
abbyhu2000 committed Oct 11, 2023
1 parent ae461ca commit 4e4a809
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"settings": {
"index": {
"number_of_replicas": "0",
"number_of_shards": "1"
"number_of_shards": "1",
"codec": "best_compression"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"settings": {
"index": {
"number_of_replicas": "1",
"number_of_shards": "1"
"number_of_shards": "1",
"codec": "best_compression"
}
}
}
Expand All @@ -36,7 +37,8 @@
"settings": {
"index": {
"number_of_replicas": "1",
"number_of_shards": "1"
"number_of_shards": "1",
"codec": "best_compression"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,8 @@
"index": {
"auto_expand_replicas": "0-1",
"number_of_replicas": "0",
"number_of_shards": "1"
"number_of_shards": "1",
"codec": "best_compression"
}
}
}
Expand Down Expand Up @@ -327,7 +328,8 @@
"settings": {
"index": {
"number_of_replicas": "1",
"number_of_shards": "5"
"number_of_shards": "5",
"codec": "best_compression"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,8 @@
}
},
"number_of_replicas": "0",
"number_of_shards": "1"
"number_of_shards": "1",
"codec": "best_compression"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,8 @@
}
},
"number_of_replicas": "0",
"number_of_shards": "1"
"number_of_shards": "1",
"codec": "best_compression"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"mappings":{"properties":{"value1":{"type":"integer"},"value2":{"type":"integer"},"value3":{"type":"integer"},"@timestamp":{"type":"date", "format":"epoch_millis"}}},"settings":{"index":{"number_of_shards":"1","number_of_replicas":"1"}}}
{"mappings":{"properties":{"value1":{"type":"integer"},"value2":{"type":"integer"},"value3":{"type":"integer"},"@timestamp":{"type":"date", "format":"epoch_millis"}}},"settings":{"index":{"number_of_shards":"1","number_of_replicas":"1","codec": "best_compression"}}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

/// <reference types="cypress" />

describe('Before', () => {
before(() => {
cy.deleteAllIndices();
cy.deleteSavedObjectByType('index-pattern');
});

it('setup completed', () => {});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

/// <reference types="cypress" />

describe('After', () => {
before(() => {
cy.deleteAllIndices();
cy.deleteSavedObjectByType('index-pattern');
});

it('clean up complete', () => {});
});

0 comments on commit 4e4a809

Please sign in to comment.