Commit 6cd4b10
committed
gh-140381: Handle slower machines in test_profiling
While looking at #140028 I found some test failures that are caused by
new tests (from #138122) running too slowly.
This adds an arbitrary heuristic to double the sampling run time.
We could do 10x instead? And/or move the heuristic into test_support.
Thoughts?1 parent 237dca5 commit 6cd4b10
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
1904 | 1907 | | |
1905 | 1908 | | |
1906 | 1909 | | |
1907 | | - | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
1908 | 1914 | | |
1909 | 1915 | | |
1910 | 1916 | | |
| |||
1936 | 1942 | | |
1937 | 1943 | | |
1938 | 1944 | | |
1939 | | - | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + | |
| 1949 | + | |
| 1950 | + | |
1940 | 1951 | | |
1941 | 1952 | | |
1942 | 1953 | | |
| |||
0 commit comments