|
35 | 35 | @stub.function(
|
36 | 36 | image=image, secret=modal.Secret.from_name("my-aws-secret"), retries=2, timeout=10
|
37 | 37 | )
|
38 |
| -def deterministic_failure_modal(i, path=None, timing_map=None): |
39 |
| - return deterministic_failure(path, timing_map, i) |
| 38 | +def deterministic_failure_modal(i, path=None, timing_map=None, *, name=None): |
| 39 | + return deterministic_failure(path, timing_map, i, name=name) |
40 | 40 |
|
41 | 41 |
|
42 | 42 | @stub.function(image=image, secret=modal.Secret.from_name("my-aws-secret"), timeout=10)
|
43 |
| -def deterministic_failure_modal_no_retries(i, path=None, timing_map=None): |
44 |
| - return deterministic_failure(path, timing_map, i) |
| 43 | +def deterministic_failure_modal_no_retries(i, path=None, timing_map=None, *, name=None): |
| 44 | + return deterministic_failure(path, timing_map, i, name=name) |
45 | 45 |
|
46 | 46 |
|
47 | 47 | @stub.function(
|
48 | 48 | image=image, secret=modal.Secret.from_name("my-aws-secret"), retries=2, timeout=300
|
49 | 49 | )
|
50 |
| -def deterministic_failure_modal_long_timeout(i, path=None, timing_map=None): |
51 |
| - return deterministic_failure(path, timing_map, i) |
| 50 | +def deterministic_failure_modal_long_timeout( |
| 51 | + i, path=None, timing_map=None, *, name=None |
| 52 | +): |
| 53 | + return deterministic_failure(path, timing_map, i, name=name) |
52 | 54 |
|
53 | 55 |
|
54 | 56 | async def run_test(app_function, input, use_backups=False, batch_size=None, **kwargs):
|
|
0 commit comments