opensearch-project/OpenSearch

Update gradle test setup to consider test iterations for suite timeout

Open

#5,630 opened on Dec 24, 2022

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Java (1,505 forks)batch import
:testBuild Libraries & InterfacesCCIPriority-Mediumbugenhancementgood first issue

Repository metrics

Stars
 (8,123 stars)
PR merge metrics
 (Avg merge 5d 9h) (266 merged PRs in 30d)

Description

Coming from https://github.com/opensearch-project/OpenSearch/issues/1561#issuecomment-1364454897, existing test setup does not consider the test iteration count (-Dtests.iters) and uses 20 mins test suite timeout. This is problematic as it often leads to test suite timeout.

Alternative: Update timeout to a higher value. This is not an ideal solution.

Contributor guide