mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
Tests that invoke Lambda with REQUEST_RESPONSE depend on Docker-in-Docker for container execution. When DinD is unavailable in CI, these tests time out instead of skipping. Add a shared memoized probe (TestFixtures.isLambdaDispatchAvailable) that creates a throwaway Lambda, invokes it with a 30s timeout, and caches the result per JVM. Tests that need real dispatch now skip cleanly via Assumptions.assumeTrue. Java: ApiGatewayV2ExecuteTest, LambdaLongPathTest, S3NotificationsTest Go: lambda_test.go Invoke subtest