ZF-11137: Zend_Service_Amazon_SimpleDb_OnlineTest needs to wait/sleep more often
Description
Some additional sleeps should be added to avoid errors like:
1)Zend_Service_Amazon_SimpleDb_OnlineTest::testGetAttributes Zend_Service_Amazon_SimpleDb_Exception: Service AmazonSimpleDB is currently unavailable. Please try again later
Related AWS forum thread: https://forums.aws.amazon.com/message.jspa/…
Goals: - Tests runs that are slower but with less false negatives. - Avoid manual clean up cause by unexpected errors. E.g. testListDomains() is sensitive to the total number of test domains. But if cases die before they can clean up the domains they know about, we leave garbage behind for the next run.
Comments
Posted by David Smith (codeactual) on 2011-03-05T19:14:16.000+0000
bq. "Avoid manual clean up [...] testListDomains [...]"
My mistake -- that's not an issue.
Posted by David Smith (codeactual) on 2011-03-06T16:39:34.000+0000
At least for me, tests/Zend/Service/Amazon/SimpleDb/OnlineTest.php doesn't run without the access key constant fix.
Posted by David Smith (codeactual) on 2011-03-06T20:15:26.000+0000
Posted by Matthew Weier O'Phinney (matthew) on 2011-03-07T05:57:11.000+0000
Please do not mark as resolved until the patch has been applied to trunk and the appropriate release branch.
Will review today.
Posted by Matthew Weier O'Phinney (matthew) on 2011-03-07T07:25:37.000+0000
Patch applied to trunk and 1.11 release branch.