Closed
Bug 895572
Opened 11 years ago
Closed 11 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•11 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•11 years ago
|
Assignee: nobody → mihneadb
Assignee | ||
Comment 2•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=6cf5ae53b262
Updated•11 years ago
|
Attachment #778010 -
Flags: review?(robert.bugzilla) → review?(netzen)
Comment 3•11 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•11 years ago
|
Attachment #778010 -
Attachment is obsolete: true
Assignee | ||
Comment 5•11 years ago
|
||
New try run - https://tbpl.mozilla.org/?tree=Try&rev=af74497c3f77
Comment 6•11 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•11 years ago
|
||
Updated reviewer.
Assignee | ||
Updated•11 years ago
|
Attachment #779040 -
Attachment is obsolete: true
Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 779235 [details] [diff] [review] use the sandboxed tempDir keeping r+
Attachment #779235 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 9•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e287a3a5088e
Flags: in-testsuite-
Keywords: checkin-needed
Comment 10•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e287a3a5088e
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•