google / google/gtest-parallel

The reported test duration is wrong when timed out

Open
#91 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
475
Forks
110
PR merge metrics
No merged PRs in 30d

Description

Suppose we have timeout = 5s, and the following timeline:

0s: Started test1, test2, test3
1s: Running
2s: Running
3s: test1, test2, test3 finished, start test4, test 5
4s: Running
5s: Timedout
6s: test4 and test5 finished

In this case, gtest-parallel incorrectly prints test4 and test5 to have running time for 5s. Their correct running time is 3s.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.