• Home
  • Search
  • The Effects of Computational Resources on Flaky Tests
  • Cite Icon4
  • https://doi.org/10.1109/tse.2024.3462251Copy DOI Icon

The Effects of Computational Resources on Flaky Tests

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Flaky tests are tests that non-deterministically pass and fail in unchanged code. These tests can be detrimental to developers’ productivity. Particularly when tests run in continuous integration environments, the tests may be competing for access to limited computational resources (CPUs, memory etc.), and we hypothesize that resource (un)-availability may be a significant factor in the failure rate of flaky tests. We present the first assessment of the impact that computational resources have on flaky tests, including a total of 52 projects written in Java, JavaScript and Python, and 27 different resource configurations. Using a rigorous statistical methodology, we determine which tests are RAFTs (Resource-Affected Flaky Tests). We find that 46.5% of the flaky tests in our dataset are RAFTs, indicating that a substantial proportion of flaky-test failures happen depending on the resources available when running tests. We report RAFTs and configurations to avoid them to developers, and received interest to either fix the RAFTs or to improve the specifications of the projects so that tests would be run only in configurations that are unlikely to encounter RAFT failures. Although most test suites in our dataset are executed quite quickly (under one minute) in a baseline configuration, our results highlight the possibility of using this methodology to detect RAFT to reduce the cost of cloud infrastructure for reliably running larger test suites.

Similar Papers
  • Conference Article
  • Citations12

Evaluating Features for Machine Learning Detection of Order- and Non-Order-Dependent Flaky Tests

  • Apr 01, 2022
  • Owain Parry +3
  • PDF
  • Research Article
  • Citations59

A large-scale longitudinal study of flaky tests

  • Nov 13, 2020
  • Proceedings of the ACM on Programming Languages
  • Wing Lam +5
  • Conference Article
  • Citations11

What Made This Test Flake? Pinpointing Classes Responsible for Test Flakiness

  • Oct 01, 2022
  • Sarra Habchi +6
  • Supplementary Content
  • Citations3

Performance testing in continuous integration environments

  • Jan 01, 2014
  • OPUS Publication Server of the University of Stuttgart (University of Stuttgart)
  • Chris Geiger +2
  • Conference Article
  • Citations122

IFixFlakies: a framework for automatically fixing order-dependent flaky tests

  • Aug 12, 2019
  • August Shi +4
  • Research Article

Summary of the 1st International Flaky Test Workshop (FTW 2024)

  • Jul 17, 2024
  • ACM SIGSOFT Software Engineering Notes
  • Owain Parry +4
  • Research Article

SIGSOFT Outstanding Doctoral Dissertation Award

  • Jul 14, 2021
  • ACM SIGSOFT Software Engineering Notes
  • August Shi
  • Research Article
  • Citations4

JCSRC: Joint Client Selection and Resource Configuration for Energy-Efficient Multi-Task Federated Learning

  • Dec 01, 2025
  • IEEE Transactions on Computers
  • J B Ke +6
  • Conference Article
  • Citations9

Practical Flaky Test Prediction using Common Code Evolution and Test History Data

  • Apr 01, 2023
  • Martin Gruber +4
  • Conference Article
  • Citations8

Flake Aware Culprit Finding

  • Apr 01, 2023
  • Tim A D Henderson +4
  • Conference Article
  • Citations36

Understanding and Improving Regression Test Selection in Continuous Integration

  • Oct 01, 2019
  • August Shi +2
  • Research Article
  • Citations95

Energy-Efficient Task Offloading for Time-Sensitive Applications in Fog Computing

  • Sep 01, 2019
  • IEEE Systems Journal
  • Yu-Lin Jiang +3
  • Conference Article

Automating Side-Channel Testing for Embedded Systems: A Continuous Integration Approach

  • Jul 30, 2024
  • Philipp Schloyer +3
  • Research Article

MOAST: Mechanism of Action Similarity Tool

  • Sep 19, 2025
  • bioRxiv
  • Akshar Lohith +4
  • Research Article
  • Citations63

Task-Driven Resource Assignment in Mobile Edge Computing Exploiting Evolutionary Computation

  • Dec 01, 2019
  • IEEE Wireless Communications
  • Liangtian Wan +5
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.