mirror of
https://github.com/floci-io/floci.git
synced 2026-11-28 08:09:43 -05:00
main does not compile. AslExecutorFailStateErrorCauseTest builds an AslExecutor
directly and was missing the SnsJsonHandler argument, so Build and Test fails at
the Compile step before a single test runs.
A merge-order race put it there, and neither PR was wrong on its own. #3302 added
this test class, which constructs AslExecutor by hand. #3316 then added an
SnsJsonHandler parameter to that constructor and updated the 26 test classes that
constructed it, but that set was taken from a base predating #3302, so this one
was never in it. Git merged both cleanly because neither touched the other's
lines, and nothing surfaced until test-compile ran on main.
One argument, in the position the constructor declares it and the position its
sibling AslExecutorCatchTest already uses. Fully qualified to match this file,
which spells out eight of its other mocks the same way.
No other class needs it. Three further AslExecutor tests carry no SnsJsonHandler
either, but they pass their arguments as positional nulls, so the added parameter
was absorbed and they compile unchanged.
Verified at 483dfb4: ./mvnw test-compile is clean, which is the step currently
red on main, and AslExecutorFailStateErrorCauseTest with
StepFunctionsFailErrorPathValidationIntegrationTest run 14 green.