There are currently 10 failed tests when running AcquiaAgentTestCase. They are listed below:
- Account not found for random automatic setup attempt: AcquiaAgentTestCase->testAcquiaAgentGetConnected() line 101
- Subscription not found for random credentials: AcquiaAgentTestCase->testAcquiaAgentGetConnected() line 114
- Subscription connected with key and identifier Other: AcquiaAgentTestCase->testAcquiaAgentGetConnected() line 123
- Link to help page exists: AcquiaAgentTestCase->testAcquiaAgentGetConnected() line 125
- Acquia Cloud Migrate description exists: AcquiaAgentTestCase->testAcquiaAgentGetConnected() line 126
- Subscription connected with credentials: AcquiaAgentTestCase->testAcquiaAgentGetConnected() line 138
- Failed to set field acquia_dynamic_banner: AcquiaAgentTestCase->testAcquiaAgentGetConnected() line 143
- Found the Save settings button Other: AcquiaAgentTestCase->testAcquiaAgentGetConnected() line line 143
- Found the requested form fields at admin/config/system/acquia-agent: AcquiaAgentTestCase->testAcquiaAgentGetConnected() line 143
- "Receive updates from Acquia Network" option stays saved: AcquiaAgentTestCase->testAcquiaAgentGetConnected() line 144
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | acquia-agent-tests-nossl.patch-4.patch | 1.61 KB | coltrane |
| #3 | acquia-agent-tests-nossl.patch | 655 bytes | coltrane |
Comments
Comment #1
coltraneI experience Agent failures only when running via scripts/run-tests.sh, all Agent tests pass via the UI. Can you output $conf in acquia_agent.pages.inc and check if acquia settings are off? Check acquia_network_address, acquia_spi_server and acquia_spi_ssl_override in particular.
Comment #2
cpliakas commentedMy $conf is clean. I have no acquia variables. But as an update, if I set ACQUIA_DEVELOPMENT_NOSSL in my local settings file then we are down to 2 failures. If I set ACQUIA_DEVELOPMENT_NOSSL in the acquia_connector_test module or acquia_agent.test file, then it still forces SSL for some reason.
Comment #3
coltraneThis makes all tests pass via the UI and without any acquia-specific variables in settings.php. Which tests aren't passing for you?
Comment #4
cpliakas commentedThat does the trick! All tests pass now.
Comment #5
coltraneThis patch also forces peer verification to false.
Comment #6
coltraneCommitted http://drupalcode.org/project/acquia_connector.git/commit/36227e7