You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With existing fixture, test verify consistency of modes of files inside zip.test.js fails. This is due to diff file mode in different system when doing same command or operation. For example, in our ubuntu, when create a file using mkdir cmd, the file mode is 775. But local machine, the file mode is 755.
The two test expectations can be either 775 or 755 depending on file mode of tempPath.
Describe the issue
With existing fixture, test verify consistency of modes of files inside zip.test.js fails. This is due to diff file mode in different system when doing same command or operation. For example, in our ubuntu, when create a file using mkdir cmd, the file mode is 775. But local machine, the file mode is 755.
The two test expectations can be either 775 or 755 depending on file mode of tempPath.
The purpose of this test case is to check
extractArchive
function extract files with same permission when they archive:The test should not dependent on system env. We want to investigate whether there is a better way to test the above case.
More discussions: #540
To Reproduce
yarn test:jest {path to zip.test.js}
Expected behavior
Investigate whether this test can be rewrite.
OpenSearch Version
OpenSearch 1.0.0
Dashboards Version
Dashboards 1.0.0
The text was updated successfully, but these errors were encountered: