mjsqu commented on PR #33712:
URL: https://github.com/apache/airflow/pull/33712#issuecomment-1694763838
Latest test failures:
```py
cluster="c", tasks=["arn"], WaiterConfig={"Delay": 6,
"MaxAttempts": 1000000*365*24*60*10}
)
> assert 1000000*365*24*60*10 ==
client_mock.get_waiter.return_value.config.max_attempts
E AssertionError: assert ((((1000000 * 365) * 24) * 60) * 10) ==
<MagicMock name='client.get_waiter().config.max_attempts' id='139852189801392'>
E + where <MagicMock name='client.get_waiter().config.max_attempts'
id='139852189801392'> = <MagicMock name='client.get_waiter().config'
id='139852190309584'>.max_attempts
E + where <MagicMock name='client.get_waiter().config'
id='139852190309584'> = <MagicMock name='client.get_waiter()'
id='139852190269200'>.config
E + where <MagicMock name='client.get_waiter()'
id='139852190269200'> = <MagicMock name='client.get_waiter'
id='139852190252720'>.return_value
E + where <MagicMock name='client.get_waiter'
id='139852190252720'> = <MagicMock name='client'
id='139852190228688'>.get_waiter
```
Struggling to understand how the assertion fails, perhaps there's a
precision issue such that
`client_mock.get_waiter.return_value.config.max_attempts` does not return the
exact value it was provided with?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]