SAP/neonbee

[Discussion]: Increase timeouts for tests

pk-work opened this issue · 1 comments

Is there an existing issue for this?

  • I have searched the existing issues

The Problem

The annotation ``@Timeout` defines the maximum time a test has the chance to complete. In the most tests we defined 2 seconds. On a slow machine or CI infrastructure there is a good chance to hit this timeout. Unfortunately it is not possible to configure a global timeout [1], which can be increased on slow machines.

[1] https://discord.com/channels/751380286071242794/751398169199378553/1045722403705212979

Desired Solution

We should agree on a new default timeout value and adopt the tests.

Alternative Solutions

We write our own Timeout annotation?

Additional Context

No response

Thanks to @wowselim, he made me aware of Junit5 default timeouts [1] which I will try out.

[1] https://junit.org/junit5/docs/current/user-guide/#writing-tests-declarative-timeouts-default-timeouts