Skip to content

Commit

Permalink
[EDR Workflows] Fix vagrant unzip (elastic#175754)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsonpl authored and CoenWarmer committed Feb 15, 2024
1 parent 3864b62 commit 8e76127
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 @@ -112,7 +112,7 @@ describe('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 8e76127

Please sign in to comment.