@@ -475,7 +475,7 @@ def test_adjust_spark_requested_resources_error(
475
475
'spark.dynamicAllocation.enabled' : 'true' ,
476
476
'spark.dynamicAllocation.shuffleTracking.enabled' : 'true' ,
477
477
'spark.dynamicAllocation.executorAllocationRatio' : '0.8' ,
478
- 'spark.dynamicAllocation.cachedExecutorIdleTimeout' : '420s ' ,
478
+ 'spark.dynamicAllocation.cachedExecutorIdleTimeout' : '900s ' ,
479
479
'spark.dynamicAllocation.minExecutors' : '0' ,
480
480
'spark.dynamicAllocation.maxExecutors' : '2' ,
481
481
'spark.executor.instances' : '0' ,
@@ -495,7 +495,7 @@ def test_adjust_spark_requested_resources_error(
495
495
'spark.dynamicAllocation.initialExecutors' : '128' ,
496
496
'spark.dynamicAllocation.shuffleTracking.enabled' : 'true' ,
497
497
'spark.dynamicAllocation.executorAllocationRatio' : '0.8' ,
498
- 'spark.dynamicAllocation.cachedExecutorIdleTimeout' : '420s ' ,
498
+ 'spark.dynamicAllocation.cachedExecutorIdleTimeout' : '900s ' ,
499
499
'spark.executor.instances' : '128' ,
500
500
},
501
501
),
@@ -510,7 +510,7 @@ def test_adjust_spark_requested_resources_error(
510
510
'spark.dynamicAllocation.minExecutors' : '205' ,
511
511
'spark.dynamicAllocation.shuffleTracking.enabled' : 'true' ,
512
512
'spark.dynamicAllocation.executorAllocationRatio' : '0.8' ,
513
- 'spark.dynamicAllocation.cachedExecutorIdleTimeout' : '420s ' ,
513
+ 'spark.dynamicAllocation.cachedExecutorIdleTimeout' : '900s ' ,
514
514
'spark.executor.instances' : '205' ,
515
515
},
516
516
),
@@ -541,7 +541,7 @@ def test_get_dra_configs(
541
541
user_spark_opts ,
542
542
expected_output ,
543
543
):
544
- output = spark_config ._get_dra_configs (user_spark_opts )
544
+ output = spark_config .get_dra_configs (user_spark_opts )
545
545
for key in expected_output .keys ():
546
546
assert output [key ] == expected_output [key ], f'wrong value for { key } '
547
547
0 commit comments