Closed (fixed)
Project:
drupaltestbot
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2011 at 22:08 UTC
Updated:
5 Sep 2012 at 20:11 UTC
I need to be able to test https request while the tests are being run on http, see #1261454: Add tests for http/https language domain negotiation for more information, on my local install it kinda works, but the testbot complained on all https requests, so do all bots fully support https and if not what is the best way to handle this inside simpletests?
Comments
Comment #1
attiks commentedReassign as per http://drupal.org/node/1250800#comment-4945034
Comment #2
rfaySo.. In your local tests, you're able to test successfully with a plain-old https setup (with a self-signed key)? So we could do OK with a self-signed key?
Comment #3
rfayComment #4
attiks commentedYes, I'm was using a quickstart VM, it comes with http + https, all self signed, but I can not remember if I added an exception, I think i did. All tests where run from within the browser, I guess the testbot uses the scripts.
Comment #5
boombatower commentedAny https tests should use /modules/simpletest/tests/https.php which fakes the variables that Drupal checks to determine if the request if over https. Grep to find the test that shows example of how to use.
Running actual https tests apache, ssl, etc which is heavier load and unnecessary.
Comment #6
rfay@attiks, I did update the testbot config to allow directly running https. However, run_tests.sh does not return results when you're running using https. So there's a core bug there (at least in 7).
Comment #7
rfayFixed from testbot perspective...