golioth / golioth-zephyr-sdk

Golioth SDK For Zephyr
https://www.golioth.io
Apache License 2.0
65 stars 20 forks source link

samples: introduce GOLIOTH_SAMPLE_TEST_CONNECT_TIMEOUT #377

Closed mniestroj closed 1 year ago

mniestroj commented 1 year ago

Introduce connect timeout as a build configuration, so that test scripts will know how much time to wait before considering connection timeout. Having it as Kconfig option allows to configure it per platform and per connectivity requirements.

This replaces custom --initial-timeout pytest argument, which resulted in duplicating test cases for fast (default 30s) / long (configured 120s) timeouts.

github-actions[bot] commented 1 year ago

Visit the preview URL for this PR (updated for commit 8ca7daa):

https://golioth-zephyr-sdk-doxygen-dev--pr377-pytest-timeout-r-yffpj6mw.web.app

(expires Thu, 04 May 2023 20:55:35 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: a389eefadf4b4b68a539327b3459dd66c142cf49