Skip to content

Commit

Permalink
fix(aws/integration): fix scope of setup method while upgrading junit…
Browse files Browse the repository at this point in the history
… to 5.9.0

to fix:

> Task :clouddriver-aws:integrationTest

  com.netflix.spinnaker.clouddriver.aws.test.CreateServerGroupSpec ✘ initializationError

    org.junit.platform.commons.JUnitException: @beforeeach method 'private void com.netflix.spinnaker.clouddriver.aws.test.CreateServerGroupSpec.init(org.junit.jupiter.api.TestInfo)' must not be private.
  • Loading branch information
dbyron-sf committed Jul 30, 2024
1 parent 92f2122 commit af24bd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public class CreateServerGroupSpec extends AwsBaseSpec {
private AmazonEC2 mockEc2 = mock(AmazonEC2.class);

@BeforeEach
private void init(TestInfo testInfo) {
void init(TestInfo testInfo) {
System.out.println("--------------- Test " + testInfo.getDisplayName());

// mock EC2 responses
Expand Down

0 comments on commit af24bd8

Please sign in to comment.