cylc-flow icon indicating copy to clipboard operation
cylc-flow copied to clipboard

functional tests broken by any Jinja2 in global-tests.cylc

Open hjoliver opened this issue 2 years ago • 1 comments

create_test_global_config shell function needs tweaking

hjoliver avatar Jul 28 '22 04:07 hjoliver

Replicated. 😢

wxtim avatar Jul 28 '22 08:07 wxtim

Is this about trying to do something like this?

create_test_global_config "" "
#!Jinja2
[scheduler]
    process pool timeout = {{ X }}
"

If so I think the simple solution is?

create_test_global_config "#!Jinja2" "
[scheduler]
    process pool timeout = {{ X }}
"

The two args to create_test_global_config are pre- and ap-pended to the global config respectively

MetRonnie avatar Sep 16 '22 15:09 MetRonnie

No, the problem is use of Jinja2 in global-tests.cylc. But, now that you've reminded me, I'll push up a fix.

hjoliver avatar Sep 21 '22 01:09 hjoliver

Closed by #5148?

MetRonnie avatar Sep 26 '22 09:09 MetRonnie