Details
-
Task
-
Resolution: Fixed
-
Major
-
master
-
0
Description
What is the problem?
The test TestAssertDatasetExistsUnknownError in utils/import_test.go always fails on my Mac and, I suspect, MacOS generally:
--- FAIL: TestAssertDatasetExistsUnknownError (0.00s)
|
import_test.go:24:
|
Error Trace: /Users/mathall/Documents/code/cb_enterprise_src/backup/utils/import_test.go:24
|
Error: Not equal:
|
expected: "failed to check if dataset /root/to/file exists: stat /root/to/file: permission denied"
|
actual : "dataset /root/to/file does not exist"
|
|
Diff:
|
--- Expected
|
+++ Actual
|
@@ -1 +1 @@
|
-failed to check if dataset /root/to/file exists: stat /root/to/file: permission denied
|
+dataset /root/to/file does not exist
|
Test: TestAssertDatasetExistsUnknownError
|
I believe this is because /root does not have restricted permissions on MacOS as it does not exist.
Attachments
For Gerrit Dashboard: MB-57795 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
193635,3 | MB-57795 Make TestAssertDatasetExistsUnknownError only run on Linux | master | backup | Status: MERGED | +2 | +1 |