We have an migration integration test which is failing because of
[ERROR] check migration from 141_0 to 142_0 Time elapsed: 12.899 s <<< ERROR!
com.noumenadigital.platform.engine.values.ClientException$PlatformRuntimeException: Runtime error: 'com.google.protobuf.InvalidProtocolBufferException: Protocol message had too many levels of nesting. May be malicious. Use setRecursionLimit() to increase the recursion depth limit.'
whilst constructing the data to used in validating the migration from the old version to the new version has worked.
There is an environment variable ENGINE_PROTOBUF_DESER_RECURSION_LIMIT, which can be set to fix this. This is straightforward when running the docker image, but what about when running the migration runner from a test? At which point is the variable picked up?