File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change
1
+ [
2
+ {
3
+ "type" : " enhancement" ,
4
+ "category" : " Retry" ,
5
+ "description" : " Updates default retry mode from `legacy` to `standard` ."
6
+ }
7
+ ]
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class ConfigurationProvider extends AbstractConfigurationProvider
46
46
implements ConfigurationProviderInterface
47
47
{
48
48
const DEFAULT_MAX_ATTEMPTS = 3 ;
49
- const DEFAULT_MODE = 'legacy ' ;
49
+ const DEFAULT_MODE = 'standard ' ;
50
50
const ENV_MAX_ATTEMPTS = 'AWS_MAX_ATTEMPTS ' ;
51
51
const ENV_MODE = 'AWS_RETRY_MODE ' ;
52
52
const ENV_PROFILE = 'AWS_PROFILE ' ;
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ function (ConfigurationException $e) {
107
107
public function testCreatesDefaultFromFallback ()
108
108
{
109
109
$ this ->clearEnv ();
110
- $ expected = new Configuration ('legacy ' , 3 );
110
+ $ expected = new Configuration ('standard ' , 3 );
111
111
/** @var ConfigurationInterface $result */
112
112
$ result = call_user_func (ConfigurationProvider::fallback ())->wait ();
113
113
$ this ->assertSame ($ expected ->toArray (), $ result ->toArray ());
@@ -142,7 +142,7 @@ public function testUsesIniWithUseAwsConfigFileTrue()
142
142
public function testIgnoresIniWithUseAwsConfigFileFalse ()
143
143
{
144
144
$ dir = $ this ->clearEnv ();
145
- $ expected = new Configuration ('legacy ' , 3 );
145
+ $ expected = new Configuration ('standard ' , 3 );
146
146
file_put_contents ($ dir . '/config ' , $ this ->iniFile );
147
147
putenv ('HOME= ' . dirname ("garbageDirectory " ));
148
148
/** @var ConfigurationInterface $result */
You can’t perform that action at this time.
0 commit comments