diff --git a/ballerina-tests/http-misc-tests/tests/http_outbound_message_type_test.bal b/ballerina-tests/http-misc-tests/tests/http_outbound_message_type_test.bal index ba4e9ecdd..5f8afb18b 100644 --- a/ballerina-tests/http-misc-tests/tests/http_outbound_message_type_test.bal +++ b/ballerina-tests/http-misc-tests/tests/http_outbound_message_type_test.bal @@ -236,14 +236,14 @@ public function testSendingClosedRecordTable() returns error? { ]); } -@test:Config { enable: false} +@test:Config {} public function testRequestAnydataNegative() returns error? { json[] x = []; x.push(x); json|error payload = outRequestClient->post("/mytest/json", x); if payload is error { if payload is http:InitializingOutboundRequestError { - test:assertEquals(payload.message(), "json conversion error: {ballerina/lang.value}CyclicValueReferenceError"); + test:assertEquals(payload.message(), "json conversion error: the value has a cyclic reference"); return; } } @@ -472,12 +472,12 @@ public function testGettingClosedRecordArray() returns error? { ]); } -@test:Config {enable: false} +@test:Config {} public function testResponseAnydataNegative() returns error? { http:Response resp = check outRequestClient->get("/mytest/anydataNegative"); test:assertEquals(resp.statusCode, 500, msg = "Found unexpected output"); common:assertHeaderValue(check resp.getHeader(common:CONTENT_TYPE), common:APPLICATION_JSON); - check common:assertJsonErrorPayload(check resp.getJsonPayload(), "json conversion error: {ballerina/lang.value}CyclicValueReferenceError", + check common:assertJsonErrorPayload(check resp.getJsonPayload(), "json conversion error: the value has a cyclic reference", "Internal Server Error", 500, "/mytest/anydataNegative", "GET"); } diff --git a/ballerina-tests/http-test-common/Dependencies.toml b/ballerina-tests/http-test-common/Dependencies.toml index b8d7b9964..ad62fe294 100644 --- a/ballerina-tests/http-test-common/Dependencies.toml +++ b/ballerina-tests/http-test-common/Dependencies.toml @@ -5,7 +5,7 @@ [ballerina] dependencies-toml-version = "2" -distribution-version = "2201.11.0-20241121-075100-c4c87cbc" +distribution-version = "2201.11.0-20241209-162400-0c015833" [[package]] org = "ballerina" diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index 054c016e3..e41919c2c 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -23,13 +23,13 @@ path = "../native/build/libs/http-native-2.13.0-SNAPSHOT.jar" groupId = "io.ballerina.stdlib" artifactId = "mime-native" version = "2.11.0" -path = "./lib/mime-native-2.11.0-20241204-145000-6cef6a1.jar" +path = "./lib/mime-native-2.11.0-20241209-180600-aa73132.jar" [[platform.java21.dependency]] groupId = "io.ballerina.stdlib" artifactId = "constraint-native" version = "1.6.0" -path = "./lib/constraint-native-1.6.0-20241122-133100-98689e2.jar" +path = "./lib/constraint-native-1.6.0-20241209-172100-2facdca.jar" [[platform.java21.dependency]] groupId = "io.netty" diff --git a/ballerina/Dependencies.toml b/ballerina/Dependencies.toml index c81caea56..b9a0c88ee 100644 --- a/ballerina/Dependencies.toml +++ b/ballerina/Dependencies.toml @@ -5,7 +5,7 @@ [ballerina] dependencies-toml-version = "2" -distribution-version = "2201.11.0-20241121-075100-c4c87cbc" +distribution-version = "2201.11.0-20241209-162400-0c015833" [[package]] org = "ballerina"