Commit 89eb658
Allow passing a timeout to unit tests
Summary:
**Pre-submission checklist**
- [x] I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running `pip install -r requirements-dev.txt && pre-commit install`
- [x] `pre-commit run`
When running unit tests, no timeout was enforced. Add an optional
`--timeout` flag to `getdeps.py` that is passed to `ctest` and update
our build script to set a default timeout of 90 seconds per test, which
is generous enough for now.
X-link: facebook/fboss#654
Reviewed By: ahornby
Differential Revision: D86883098
Pulled By: KevinYakar
fbshipit-source-id: 9c841311460a546ae9189ddf62ee461aad9488711 parent 42abf6a commit 89eb658
3 files changed
+28
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
940 | 940 | | |
941 | 941 | | |
942 | 942 | | |
| 943 | + | |
943 | 944 | | |
944 | 945 | | |
945 | 946 | | |
| |||
957 | 958 | | |
958 | 959 | | |
959 | 960 | | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
960 | 967 | | |
961 | 968 | | |
962 | 969 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
| |||
343 | 345 | | |
344 | 346 | | |
345 | 347 | | |
346 | | - | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
347 | 351 | | |
348 | 352 | | |
349 | 353 | | |
| |||
358 | 362 | | |
359 | 363 | | |
360 | 364 | | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
361 | 368 | | |
362 | 369 | | |
363 | 370 | | |
| |||
919 | 926 | | |
920 | 927 | | |
921 | 928 | | |
922 | | - | |
| 929 | + | |
923 | 930 | | |
924 | 931 | | |
925 | 932 | | |
| |||
1066 | 1073 | | |
1067 | 1074 | | |
1068 | 1075 | | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
1069 | 1079 | | |
1070 | 1080 | | |
1071 | 1081 | | |
| |||
1126 | 1136 | | |
1127 | 1137 | | |
1128 | 1138 | | |
| 1139 | + | |
| 1140 | + | |
1129 | 1141 | | |
1130 | 1142 | | |
1131 | 1143 | | |
| |||
1421 | 1433 | | |
1422 | 1434 | | |
1423 | 1435 | | |
1424 | | - | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
1425 | 1439 | | |
1426 | 1440 | | |
1427 | 1441 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
| |||
0 commit comments