@ExpectMaxQueryExecutionTime

With this annotation, the test will fail if one request exceeds the max expected query execution time.

If you use a memory database to test the persistence layer, the usage of this annotation does not make sense.

🔧 Elements

Name Type Meaning
thresholdInMilliSeconds int Max allowed query execution time value in milliseconds