Skip to content

Commit 540df8e

Browse files
committedMar 27, 2025
update relative path
1 parent e14d9d1 commit 540df8e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -101,22 +101,22 @@ tasks.withType(Test).configureEach {
101101

102102
tasks.register("generateCertificates", Exec) {
103103
description = "Generates SSL certificates to start a secured ESDB server"
104-
commandLine 'docker', 'compose', '--file', '../configure-tls-for-tests.yml', 'up'
104+
commandLine 'docker', 'compose', '--file', './configure-tls-for-tests.yml', 'up'
105105
}
106106

107107
tasks.register("generateUserCertificates", Exec) {
108108
description = "Generates X.509 certificates for Plugins tests"
109-
commandLine 'docker', 'compose', '--file', '../configure-user-certs-for-tests.yml', 'up'
109+
commandLine 'docker', 'compose', '--file', './configure-user-certs-for-tests.yml', 'up'
110110
}
111111

112112
tasks.register("startDockerCompose", Exec) {
113113
description = "Starts ESDB cluster"
114-
commandLine 'docker', 'compose', '--file', '../docker-compose.yml', 'up', '-d'
114+
commandLine 'docker', 'compose', '--file', './docker-compose.yml', 'up', '-d'
115115
}
116116

117117
tasks.register("stopDockerCompose", Exec) {
118118
description = "Stop ESDB cluster"
119-
commandLine 'docker', 'compose', '--file', '../docker-compose.yml', 'down'
119+
commandLine 'docker', 'compose', '--file', './docker-compose.yml', 'down'
120120
}
121121

122122

‎src/test/java/io/kurrent/dbclient/plugins/ClientCertificateAuthenticationTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static String userKey(String user) {
3030
}
3131

3232
static String buildCertPath(String user, String extension) {
33-
String certsPath = Paths.get(System.getProperty("user.dir"), "..", "certs").toAbsolutePath().toString();
33+
String certsPath = Paths.get(System.getProperty("user.dir"), "certs").toAbsolutePath().toString();
3434
return String.format("%s/user-%s/user-%s.%s", certsPath, user, user, extension);
3535
}
3636
}

0 commit comments

Comments
 (0)