Closed
Bug 895572
Opened 12 years ago
Closed 12 years ago
modules/libmar tests cannot be run concurrently
Categories
(Toolkit :: Application Update, defect)
Toolkit
Application Update
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: mihneadb, Assigned: mihneadb)
References
Details
Attachments
(1 file, 2 obsolete files)
13.60 KB,
patch
|
mihneadb
:
review+
|
Details | Diff | Splinter Review |
They are using the shared tests folder.
Assignee | ||
Comment 1•12 years ago
|
||
Using a tmpdir instead of the shared tests dir.
I'm creating it in the global namespace because we need a handle to the tempdir
inside two different functions and if we were to call the function (do_get_tempdir)
twice we'd end up with two temp dirs.
Attachment #778010 -
Flags: review?(robert.bugzilla)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → mihneadb
Assignee | ||
Comment 2•12 years ago
|
||
Updated•12 years ago
|
Attachment #778010 -
Flags: review?(robert.bugzilla) → review?(netzen)
Comment 3•12 years ago
|
||
Comment on attachment 778010 [details] [diff] [review]
use a tmpdir
Review of attachment 778010 [details] [diff] [review]:
-----------------------------------------------------------------
I think you want to do similar changes inside test_sign_verify.js
::: modules/libmar/tests/unit/test_create.js
@@ +60,2 @@
> let differentFile = do_get_file("data/1_byte_mar.mar");
> let outMARDir = do_get_file(".");
I think you want to use tempDir.clone() here
Attachment #778010 -
Flags: review?(netzen)
Assignee | ||
Updated•12 years ago
|
Attachment #778010 -
Attachment is obsolete: true
Assignee | ||
Comment 5•12 years ago
|
||
New try run - https://tbpl.mozilla.org/?tree=Try&rev=af74497c3f77
Comment 6•12 years ago
|
||
Comment on attachment 779040 [details] [diff] [review]
use the sandboxed tempDir
Review of attachment 779040 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thanks.
Nit: You need to update the reviewer on the patch.
Attachment #779040 -
Flags: review?(netzen) → review+
Assignee | ||
Comment 7•12 years ago
|
||
Updated reviewer.
Assignee | ||
Updated•12 years ago
|
Attachment #779040 -
Attachment is obsolete: true
Assignee | ||
Comment 8•12 years ago
|
||
Comment on attachment 779235 [details] [diff] [review]
use the sandboxed tempDir
keeping r+
Attachment #779235 -
Flags: review+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 9•12 years ago
|
||
Flags: in-testsuite-
Keywords: checkin-needed
Comment 10•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•