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 7c83e55dea
commit f087a6ea87

View File

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