Skip to content

Commit

Permalink
[8.10] [Security Solution] Re-enable file operations tests (#164315) (#…
Browse files Browse the repository at this point in the history
…164518)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] Re-enable file operations tests
(#164315)](#164315)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Kevin
Logan","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-08-22T21:03:59Z","message":"[Security
Solution] Re-enable file operations tests (#164315)\n\n##
Summary\r\n\r\nRe-enable tests after this bug was
fixed:\r\nhttps://github.com//issues/162760\r\n\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"1e9282f21ac1b14493edeb0b8d217be3aea7f1ab","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","v8.10.0","v8.11.0"],"number":164315,"url":"https://github.com/elastic/kibana/pull/164315","mergeCommit":{"message":"[Security
Solution] Re-enable file operations tests (#164315)\n\n##
Summary\r\n\r\nRe-enable tests after this bug was
fixed:\r\nhttps://github.com//issues/162760\r\n\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"1e9282f21ac1b14493edeb0b8d217be3aea7f1ab"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164315","number":164315,"mergeCommit":{"message":"[Security
Solution] Re-enable file operations tests (#164315)\n\n##
Summary\r\n\r\nRe-enable tests after this bug was
fixed:\r\nhttps://github.com//issues/162760\r\n\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"1e9282f21ac1b14493edeb0b8d217be3aea7f1ab"}}]}]
BACKPORT-->

Co-authored-by: Kevin Logan <[email protected]>
  • Loading branch information
kibanamachine and kevinlog authored Aug 22, 2023
1 parent 9b82175 commit 1ea271f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,7 @@ describe('Response console', () => {
});
});

// Broken until this is fixed: https://github.com/elastic/kibana/issues/162760
describe.skip('File operations: get-file and execute', () => {
describe('File operations: get-file and execute', () => {
const homeFilePath = process.env.CI || true ? '/home/vagrant' : `/home/ubuntu`;

const fileContent = 'This is a test file for the get-file command.';
Expand Down

0 comments on commit 1ea271f

Please sign in to comment.