Skip to content

Commit

Permalink
Fix after review
Browse files Browse the repository at this point in the history
Closes #442
  • Loading branch information
nickkkccc committed Dec 20, 2023
1 parent 7af381e commit 3aa7892
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public static void setUp() throws URISyntaxException, SSLException {
.withUsername("test_user")
.withPassword("test_password")
.withMemtxMemory(256 * 1024 * 1024)
.withDirectoryBinding(RESOURCE_PATH + "ssl")
.withLogConsumer(new Slf4jLogConsumer(log))
.withSslContext(org.testcontainers.containers.SslContext.getSslContext());

Expand All @@ -65,6 +66,7 @@ public static void setUp() throws URISyntaxException, SSLException {
.withUsername("test_user")
.withPassword("test_password")
.withMemtxMemory(256 * 1024 * 1024)
.withDirectoryBinding(RESOURCE_PATH)
.withLogConsumer(new Slf4jLogConsumer(log));

if (!containerWithSsl.isRunning()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public static void setUp() throws Exception {
.withUsername("test_user")
.withPassword("test_password")
.withMemtxMemory(256 * 1024 * 1024)
.withDirectoryBinding(RESOURCE_PATH)
.withLogConsumer(new Slf4jLogConsumer(log))
.withSslContext(org.testcontainers.containers.SslContext.getSslContext(
RESOURCE_PATH + "ca.key",
Expand Down
3 changes: 1 addition & 2 deletions src/test/resources/cartridge/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ local ok, err = cartridge.cfg({
'app.roles.api_router',
'app.roles.api_storage',
'app.roles.custom',
},
cluster_cookie = 'secret-cluster-cookie',
}
}, {
readahead = 10 * 1024 * 1024, -- 10 MB
net_msg_max = 11140,
Expand Down

0 comments on commit 3aa7892

Please sign in to comment.