File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/WorkflowCore.Tests.DynamoDB Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public class DynamoDbDockerSetup : DockerSetup
11
11
{
12
12
public static string ConnectionString { get ; set ; }
13
13
14
- public static AWSCredentials Credentials => new EnvironmentVariablesAWSCredentials ( ) ;
14
+ public static AWSCredentials Credentials => new BasicAWSCredentials ( "DUMMYIDEXAMPLE" , "DUMMYEXAMPLEKEY" ) ;
15
15
16
16
public override string ImageName => @"amazon/dynamodb-local" ;
17
17
public override int InternalPort => 8000 ;
@@ -30,7 +30,7 @@ public override bool TestReady()
30
30
{
31
31
ServiceURL = $ "http://localhost:{ ExternalPort } "
32
32
} ;
33
- AmazonDynamoDBClient client = new AmazonDynamoDBClient ( clientConfig ) ;
33
+ AmazonDynamoDBClient client = new AmazonDynamoDBClient ( Credentials , clientConfig ) ;
34
34
var resp = client . ListTablesAsync ( ) . Result ;
35
35
36
36
return resp . HttpStatusCode == HttpStatusCode . OK ;
You can’t perform that action at this time.
0 commit comments