drupal_amazons3 icon indicating copy to clipboard operation
drupal_amazons3 copied to clipboard

Support IAM roles and environment variables for credentials

Open larowlan opened this issue 9 years ago • 1 comments

larowlan avatar Jun 15 '15 22:06 larowlan

This fails if you run tests on servers that aren't EC2 (like local environments).

PHPUnit 4.6.6 by Sebastian Bergmann and contributors.

Configuration read from /Users/andrew/vagrant/d7/www/docroot/sites/all/modules/amazons3/phpunit.xml

...............F................................................. 65 / 69 ( 94%)
....

Time: 1.51 seconds, Memory: 53.50Mb

There was 1 failure:

1) Drupal\amazons3\S3ClientTest::testFactoryEnvironmentIAMGetCredentials
Failed asserting that exception of type "\Aws\Common\Exception\InstanceProfileCredentialsException" is thrown.

FAILURES!
Tests: 69, Assertions: 124, Failures: 1.

deviantintegral avatar Jun 18 '15 15:06 deviantintegral