Skip to content

Conversation

@hroncok
Copy link
Contributor

@hroncok hroncok commented May 28, 2019

Add environment variable IPYTHON_TESTING_TIMEOUT_SCALE that can be used to scale all the timeouts in tests.

Useful on slow machines, such as Fedora armv7hl/aarch64 builders.

Fixes #11754

@Carreau
Copy link
Member

Carreau commented May 30, 2019

I'm wondering if we should have a global IPYTHON_TESTING_TIMEOUT_SCALE that is used to scale all the current (and future) timeout everywhere. There is only 3 so far... but you never know.

Thoughts ?

IPython/terminal/tests/test_debug_magic.py
34:    child.timeout = 15
38:    child.timeout = 2

IPython/terminal/tests/test_embed.py
75:    child.timeout = 5

Add environment variable IPYTHON_TESTING_TIMEOUT_SCALE that can
be used to scale all the timeouts in tests.

Useful on slow machines, such as Fedora armv7hl/aarch64 builders.

Fixes ipython#11754
@hroncok hroncok changed the title Allow setting a custom timeout in test_nest_embed Tests: Allow setting a custom timeout scale May 30, 2019
@Carreau
Copy link
Member

Carreau commented May 31, 2019

Thanks !

@Carreau Carreau merged commit ed890ca into ipython:master May 31, 2019
@Carreau Carreau added this to the 7.6 milestone May 31, 2019
@hroncok hroncok deleted the timeout branch July 3, 2019 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Arm failures in test_embed.test_nest_embed

2 participants