Closed
Bug 789086
Opened 12 years ago
Closed 12 years ago
mochitest/runtestsremote.py uses fixed name robotium.config file
Categories
(Testing :: Mochitest, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla18
People
(Reporter: bc, Assigned: bc)
References
()
Details
Attachments
(1 file)
2.12 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
fHandle = open("robotium.config", "w")
fHandle.write("profile=%s\n" % (mochitest.remoteProfile))
fHandle.write("logfile=%s\n" % (options.remoteLogFile))
fHandle.write("host=http://mochi.test:8888/tests\n")
fHandle.write("rawhost=http://%s:%s/tests\n" % (options.remoteWebServer, options.httpPort))
fHandle.close()
When running multiple instances of runtestsremote.py under Autophone it is possible to get a conflict with robotium.config.
Generating a unique temporary name, or creating one based on the ip address and port, or specifying one via a command line option will allow us to eliminate the possible collision. Thoughts?
Comment 1•12 years ago
|
||
we need the name 'robotium.config' on the device, not necessary on the host.
some options I can think of:
1) create a tmp file and push it to /mnt/sdcard/robotium.config
2) use unique directories for each machine under test (this is what the foopies do)
3) all of the above.
Comment 2•12 years ago
|
||
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #664069 -
Flags: review?(jmaher)
Updated•12 years ago
|
Attachment #664069 -
Flags: review?(jmaher) → review+
Assignee | ||
Comment 4•12 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=57eef068c5b9 appears ok.
https://hg.mozilla.org/integration/mozilla-inbound/rev/8cbeb46ddd82
Assignee: nobody → bclary
Status: NEW → ASSIGNED
Comment 5•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•