You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unexpected characters (maxWallTime"]) at line 3 (near "assertions: ["main.wall_time < data["maxWallTime"] * var('time_coeff', 1)"]") in the request configuration (config_yml)
Invalid configuration for path "tests._assertion_2.assertions.0.expression": Variable "data" is not valid around position 18 for expression `main.wall_time < data['maxWallTime'] * var('time_coeff', 1)`. Did you forget to prefix your variable with "main.", "metrics.", "runtime.", or "vars."?
Invalid configuration for path "tests._assertion_2.assertions.0.expression": Variable "data" is not valid around position 18 for expression `main.wall_time < data.maxWallTime * var('time_coeff', 1)`. Did you forget to prefix your variable with "main.", "metrics.", "runtime.", or "vars."?
Does someone know how to make things working?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi!
I'm trying to combine the usage of
with
andassert
in order to write a singlevisit url()
block which will be driven by configuration (from thewith
).Here is our
.blackfire.yaml
:The issue is caused by the usage of
data["maxWallTime"]
.I've tried different syntaxes but it still fails (with different error message tho):
assert main.wall_time < data["maxWallTime"] * var('time_coeff', 1)
:assert main.wall_time < data['maxWallTime'] * var('time_coeff', 1)
:assert main.wall_time < data.maxWallTime * var('time_coeff', 1)
:Does someone know how to make things working?
Thanks!
The text was updated successfully, but these errors were encountered: