Update LocalDbCreationRule to respect shareDb parameter for embedded DynamoDB (#8058)

This commit is contained in:
Chintan Pandya 2019-11-22 22:49:07 +05:30 committed by maibin
parent ee1fc18df0
commit b1971384e2
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ public class LocalDbCreationRule extends ExternalResource {
@Override
protected void before() throws Exception {
String port = "8000";
this.server = ServerRunner.createServerFromCommandLineArgs(new String[]{"-inMemory", "-port", port});
this.server = ServerRunner.createServerFromCommandLineArgs(new String[]{"-inMemory","-sharedDb" ,"-port", port});
server.start();
}