From 62ff490619e7bd3554597c28c704081b4c15add5 Mon Sep 17 00:00:00 2001 From: Michal Schreiber <73832189+ck-michals@users.noreply.github.com> Date: Fri, 14 Aug 2026 13:04:43 +0200 Subject: [PATCH] fix(test): pass the managed prefix list store in Ec2PublicIpOnLaunchTest (#2288) The test calls the package-private Ec2Service constructor with the parameter list it had before #2105 added the managed prefix list store, so main does not compile. #2023 was written before that landed and merged after it. Closes #2287 Co-authored-by: Michal Schreiber --- .../hectorvent/floci/services/ec2/Ec2PublicIpOnLaunchTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/io/github/hectorvent/floci/services/ec2/Ec2PublicIpOnLaunchTest.java b/src/test/java/io/github/hectorvent/floci/services/ec2/Ec2PublicIpOnLaunchTest.java index 8e563a1b24..ec0ee3f94e 100644 --- a/src/test/java/io/github/hectorvent/floci/services/ec2/Ec2PublicIpOnLaunchTest.java +++ b/src/test/java/io/github/hectorvent/floci/services/ec2/Ec2PublicIpOnLaunchTest.java @@ -10,6 +10,7 @@ import io.github.hectorvent.floci.services.ec2.model.InternetGateway; import io.github.hectorvent.floci.services.ec2.model.KeyPair; import io.github.hectorvent.floci.services.ec2.model.LaunchTemplate; import io.github.hectorvent.floci.services.ec2.model.NatGateway; +import io.github.hectorvent.floci.services.ec2.model.ManagedPrefixList; import io.github.hectorvent.floci.services.ec2.model.NetworkAcl; import io.github.hectorvent.floci.services.ec2.model.Instance; import io.github.hectorvent.floci.services.ec2.model.Reservation; @@ -159,6 +160,7 @@ class Ec2PublicIpOnLaunchTest { load(dir, "ec2-nat-gateways.json", new TypeReference>() {}), load(dir, "ec2-spot-instance-requests.json", new TypeReference>() {}), load(dir, "ec2-network-acls.json", new TypeReference>() {}), + load(dir, "ec2-managed-prefix-lists.json", new TypeReference>() {}), load(dir, "ec2-tags.json", new TypeReference>>() {})); }