diff --git a/ballerina-tests/build.gradle b/ballerina-tests/build.gradle index 17f37b90d9..439a60c2eb 100644 --- a/ballerina-tests/build.gradle +++ b/ballerina-tests/build.gradle @@ -261,7 +261,7 @@ task startLdapServer() { if (!stdOut.toString().contains("openldap-server")) { println "Starting LDAP server." exec { - commandLine 'sh', '-c', "docker-compose -f $project.projectDir/resources/openldap/docker-compose.yml up -d" + commandLine 'sh', '-c', "docker compose -f $project.projectDir/resources/openldap/compose.yml up -d" standardOutput = stdOut } println stdOut.toString() diff --git a/ballerina-tests/resources/openldap/docker-compose.yml b/ballerina-tests/resources/openldap/compose.yml similarity index 97% rename from ballerina-tests/resources/openldap/docker-compose.yml rename to ballerina-tests/resources/openldap/compose.yml index 63d25ce840..23599088b2 100644 --- a/ballerina-tests/resources/openldap/docker-compose.yml +++ b/ballerina-tests/resources/openldap/compose.yml @@ -1,4 +1,3 @@ -version: '3.7' services: ldap_server: image: osixia/openldap:1.3.0