Skip to content

Commit

Permalink
Remove Dependencies.toml in ballerina tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NipunaMadhushan committed Nov 12, 2024
1 parent 1fac359 commit f56406c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ballerina-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ def testPackages = ["jaeger-server-tests"]

def jaegerServerTestConfigFile = new File("${project.projectDir}/jaeger-server-tests/Ballerina.toml")
def jaegerServerTestOriginalConfig = jaegerServerTestConfigFile.text
def jaegerServerTestDependenciesFile = new File("${project.projectDir}/jaeger-server-tests/Dependencies.toml")
def jaegerServerTestOriginalDependencies = jaegerServerTestDependenciesFile.text

def stripBallerinaExtensionVersion(String extVersion) {
if (extVersion.matches(project.ext.timestampedVersionRegex)) {
Expand Down Expand Up @@ -117,8 +115,6 @@ task updateTomlVerions {
doLast {
def newConfig = jaegerServerTestConfigFile.text.replace("@toml.version@", tomlVersion)
jaegerServerTestConfigFile.text = newConfig
def newDependencies = jaegerServerTestDependenciesFile.text.replace("@toml.version@", tomlVersion)
jaegerServerTestDependenciesFile.text = newDependencies
}
}

Expand Down Expand Up @@ -179,7 +175,6 @@ task stopJaegerServer() {
task revertTomlFile {
doLast {
jaegerServerTestConfigFile.text = jaegerServerTestOriginalConfig
jaegerServerTestDependenciesFile.text = jaegerServerTestOriginalDependencies
}
}

Expand Down

0 comments on commit f56406c

Please sign in to comment.