Skip to content

Commit

Permalink
Disable subscription tests on Ubuntu (#2143)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisaruGuruge authored Jan 27, 2025
1 parent 9af289b commit 032efcc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ballerina-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def testSuites = [
"graphql-dataloader-test-suite",
"graphql-interceptor-test-suite",
"graphql-security-test-suite",
"graphql-service-test-suite",
"graphql-service-test-suite",
"graphql-subgraph-test-suite",
"graphql-subscription-test-suite"
]
Expand Down Expand Up @@ -165,7 +165,12 @@ task ballerinaTest {

doLast {
testSuites.each { testPackage ->
if (!skipTests) {
// TODO: Disable the graphql-subscription-test-suite on Linux
// Check issue: https://github.com/ballerina-platform/ballerina-library/issues/7529
if (Os.isFamily(Os.FAMILY_UNIX) && testPackage == "graphql-subscription-test-suite") {
return
}
if (!skipTests) {
exec {
workingDir "${project.projectDir}/${testPackage}"
environment "JAVA_OPTS", "-DBALLERINA_DEV_COMPILE_BALLERINA_ORG=true"
Expand Down

0 comments on commit 032efcc

Please sign in to comment.