Do Test and Environmental Complexity Increase Flakiness? An Empirical Study of SAP HANA
Alexander Berndt, Thomas Bach, Sebastian Baltes

TL;DR
This empirical study investigates how test and environment complexity factors, especially test duration, influence test flakiness in SAP HANA, providing insights for mitigation strategies in complex testing environments.
Contribution
It identifies the strong correlation between test duration and flakiness, suggesting test splitting as an effective mitigation approach in practice.
Findings
Longer tests are more flaky, with a correlation of 0.79.
Infrastructure load does not significantly impact flakiness.
Splitting long tests can reduce flakiness and improve testing efficiency.
Abstract
Background: Test flakiness is a major problem in the software industry. Flaky tests fail seemingly at random without changes to the code and thus impede continuous integration (CI). Some researchers argue that all tests can be considered flaky and that tests only differ in their frequency of flaky failures. Aims: With the goal of developing mitigation strategies to reduce the negative impact of test flakiness, we study characteristics of tests and the test environment that potentially impact test flakiness. Method: We construct two datasets based on SAP HANA's test results over a 12-week period: one based on production data, the other based on targeted test executions from a dedicated flakiness experiment. We conduct correlation analysis for test and test environment characteristics with respect to their influence on the frequency of flaky test failures. Results: In our study, the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsQuality and Supply Management · Big Data and Business Intelligence · Supply Chain Resilience and Risk Management
