File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
src/test/java/cloud/localstack/sample Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 1515 */
1616
1717import cloud .localstack .Localstack ;
18+ import cloud .localstack .docker .annotation .LocalstackDockerConfiguration ;
1819import com .amazonaws .AmazonClientException ;
1920import com .amazonaws .auth .AWSCredentials ;
2021import com .amazonaws .auth .profile .ProfileCredentialsProvider ;
@@ -65,7 +66,14 @@ public static void main(String[] args) throws IOException {
6566 "location (~/.aws/credentials), and is in valid format." ,
6667 e );
6768 }
68- String s3Endpoint = Localstack .INSTANCE .getEndpointS3 ();
69+
70+ Localstack instance = Localstack .INSTANCE ;
71+
72+ LocalstackDockerConfiguration config = LocalstackDockerConfiguration .DEFAULT ;
73+ instance .startup (config );
74+
75+ String s3Endpoint = instance .getEndpointS3 ();
76+
6977 runTest (credentials , s3Endpoint );
7078 }
7179
You can’t perform that action at this time.
0 commit comments