Skip to content

Commit

Permalink
[8.x] [Files] Dont use dot index name in server integration tests (el…
Browse files Browse the repository at this point in the history
…astic#202180) (elastic#202203)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Files] Don't use dot index name in server integration tests
(elastic#202180)](elastic#202180)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Sébastien
Loix","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-28T15:56:30Z","message":"[Files]
Don't use dot index name in server integration tests
(elastic#202180)","sha":"766b9f32ec3573ef36f85afe833d00981cdc3c53","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:SharedUX","backport:prev-minor","feature:Files"],"title":"[Files]
Don't use dot index name in server integration
tests","number":202180,"url":"https://github.com/elastic/kibana/pull/202180","mergeCommit":{"message":"[Files]
Don't use dot index name in server integration tests
(elastic#202180)","sha":"766b9f32ec3573ef36f85afe833d00981cdc3c53"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202180","number":202180,"mergeCommit":{"message":"[Files]
Don't use dot index name in server integration tests
(elastic#202180)","sha":"766b9f32ec3573ef36f85afe833d00981cdc3c53"}}]}]
BACKPORT-->

Co-authored-by: Sébastien Loix <[email protected]>
  • Loading branch information
kibanamachine and sebelga authored Nov 28, 2024
1 parent 76ce9e5 commit b691d32
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 @@ -19,8 +19,8 @@ describe('ES-index-backed file client', () => {
let esClient: TestEnvironmentUtils['esClient'];
let fileClient: FileClient;
let testHarness: TestEnvironmentUtils;
const blobStorageIndex = '.kibana-test-blob';
const metadataIndex = '.kibana-test-metadata';
const blobStorageIndex = 'kibana-files-test-blob';
const metadataIndex = 'kibana-files-test-metadata';

const deleteFile = async ({
id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type TestEnvironmentUtils = Awaited<ReturnType<typeof setupIntegrationEnv

export async function setupIntegrationEnvironment() {
const fileKind: string = 'test-file-kind';
const testIndex = '.kibana-test-files';
const testIndex = 'kibana-test-files';

/**
* Functionality to create files easily
Expand Down

0 comments on commit b691d32

Please sign in to comment.