Skip to content

Commit

Permalink
[EDR Workflows] Fix vagrant unzip (#175754)
Browse files Browse the repository at this point in the history
(cherry picked from commit f4b0bd7)
  • Loading branch information
tomsonpl committed Jan 27, 2024
1 parent 42f0a85 commit 7b80cb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe.skip('Response console', { tags: ['@ess', '@serverless'] }, () => {
path: `${homeFilePath}/upload.zip`,
password: 'elastic',
}).then((unzippedFileContent) => {
expect(unzippedFileContent).to.equal(fileContent);
expect(unzippedFileContent).to.contain(fileContent);
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@ Vagrant.configure("2") do |config|
config.vm.provision "file", source: cachedAgentSource, destination: "~/#{cachedAgentFilename}"
config.vm.provision "shell", inline: "mkdir #{agentDestinationFolder}"
config.vm.provision "shell", inline: "tar -zxf #{cachedAgentFilename} --directory #{agentDestinationFolder} --strip-components=1 && rm -f #{cachedAgentFilename}"
config.vm.provision "shell", inline: "sudo apt-get update"
config.vm.provision "shell", inline: "sudo apt-get upgrade"
config.vm.provision "shell", inline: "sudo apt-get install unzip"
end

0 comments on commit 7b80cb1

Please sign in to comment.