Closed Bug 1176583 Opened 10 years ago Closed 10 years ago

figure out preferences for tcheck2 in order to run successfully

Categories

(Testing Graveyard :: Autophone, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1172108

People

(Reporter: jmaher, Unassigned)

References

Details

I believe these are the additional preferences we need: 'talos.logfile': '%s/browser_output.txt' % self._paths['dest'], 'media.gmp-manager.url': 'http://127.0.0.1/gmpmanager-dummy/update.xml', 'extensions.update.background.url': 'http://127.0.0.1/extensions-dummy/updateBackgroundURL', * talos.logfile is needed for the test itself * media.gmp-manager.url - we attempt to access outside resources, this stops that * extensions.update.background.url - we attempt to access outside resources, this stops that I am not sure if these are used in other parts of the code, or if something specific about tcheck2 is triggering parts of the browser. Ideally these should be in all tests.
:bc, do you have thoughts on these specific preferences?
Flags: needinfo?(bob)
(In reply to Joel Maher (:jmaher) from comment #0) > I believe these are the additional preferences we need: > 'talos.logfile': '%s/browser_output.txt' % self._paths['dest'], I wouldn't put it in the dest directory. I'd put it in under the test root where the other output it placed. > 'media.gmp-manager.url': 'http://127.0.0.1/gmpmanager-dummy/update.xml', > 'extensions.update.background.url': > 'http://127.0.0.1/extensions-dummy/updateBackgroundURL', 'extensions.update.enabled': False, isn't sufficient? We can definitely add this if we need it. > > * talos.logfile is needed for the test itself > * media.gmp-manager.url - we attempt to access outside resources, this stops > that > * extensions.update.background.url - we attempt to access outside resources, > this stops that > > I am not sure if these are used in other parts of the code, or if something > specific about tcheck2 is triggering parts of the browser. Ideally these > should be in all tests. Seems reasonable. I have a plan for revamping the way autophone sets browser preferences and how they can be better customized per test. I can work it out this coming week and we can go from there.
Flags: needinfo?(bob)
thanks for the info, I can get the logfile in the right spot. As for extensions.update.enabled, it failed for me while running it locally. of course I could have done something wrong, but adding those two preferences allowed me to see some results in adb logcat. sounds like we can make this work without a lot of pain.
ok, I am not clear where the test root is- any pointers, maybe an example from s1s2test.py?
Lets hook up in garabaldi this pm.
(In reply to Joel Maher (:jmaher) from comment #4) > ok, I am not clear where the test root is- any pointers, maybe an example > from s1s2test.py? This is set in adb.py's def test_root: https://github.com/mozilla/autophone/blob/master/adb.py#L685
it sounds like I should just have the one preference of talos.logfile defined and the rest can be defaults for autophone. Let me revisit the need for talos.logfile whilst I am working on this :)
these are in and will be resolved in bug 1172108.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.