Skip to content

Commit

Permalink
Merge pull request #2142 from ballerina-platform/automated/dependency…
Browse files Browse the repository at this point in the history
…_version_update

[AUTO MERGE] Update Dependencies (Ballerina Lang : 2201.11.0-20250127-101700-a4b67fe5)
  • Loading branch information
ballerina-bot authored Jan 27, 2025
2 parents f801819 + d0d9776 commit 9af289b
Show file tree
Hide file tree
Showing 22 changed files with 38 additions and 111 deletions.
4 changes: 2 additions & 2 deletions ballerina-tests/graphql-advanced-test-suite/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.11.0-20250121-140200-15de3b28"
distribution-version = "2201.11.0-20250127-101700-a4b67fe5"

[[package]]
org = "ballerina"
Expand Down Expand Up @@ -130,7 +130,6 @@ dependencies = [
{org = "ballerina", name = "graphql"},
{org = "ballerina", name = "http"},
{org = "ballerina", name = "io"},
{org = "ballerina", name = "log"},
{org = "ballerina", name = "test"},
{org = "ballerina", name = "websocket"}
]
Expand Down Expand Up @@ -168,6 +167,7 @@ dependencies = [
]
modules = [
{org = "ballerina", packageName = "http", moduleName = "http"},
{org = "ballerina", packageName = "http", moduleName = "http.default"},
{org = "ballerina", packageName = "http", moduleName = "http.httpscerr"}
]

Expand Down
3 changes: 1 addition & 2 deletions ballerina-tests/graphql-client-test-suite/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.11.0-20250121-140200-15de3b28"
distribution-version = "2201.11.0-20250127-101700-a4b67fe5"

[[package]]
org = "ballerina"
Expand Down Expand Up @@ -129,7 +129,6 @@ dependencies = [
{org = "ballerina", name = "graphql"},
{org = "ballerina", name = "http"},
{org = "ballerina", name = "io"},
{org = "ballerina", name = "log"},
{org = "ballerina", name = "test"},
{org = "ballerina", name = "websocket"}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.11.0-20250121-140200-15de3b28"
distribution-version = "2201.11.0-20250127-101700-a4b67fe5"

[[package]]
org = "ballerina"
Expand Down Expand Up @@ -131,7 +131,6 @@ dependencies = [
{org = "ballerina", name = "graphql"},
{org = "ballerina", name = "http"},
{org = "ballerina", name = "io"},
{org = "ballerina", name = "log"},
{org = "ballerina", name = "test"},
{org = "ballerina", name = "websocket"}
]
Expand Down Expand Up @@ -170,6 +169,7 @@ dependencies = [
]
modules = [
{org = "ballerina", packageName = "http", moduleName = "http"},
{org = "ballerina", packageName = "http", moduleName = "http.default"},
{org = "ballerina", packageName = "http", moduleName = "http.httpscerr"}
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ isolated function testDataLoaderWithSubscription() returns error? {
check common:validateNextMessage(wsClient, expectedMsgPayload, id = "1");
}
assertDispatchCountForBookLoader(5);
common:closeWebsocketClient(wsClient);
}

@test:Config {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.11.0-20250121-140200-15de3b28"
distribution-version = "2201.11.0-20250127-101700-a4b67fe5"

[[package]]
org = "ballerina"
Expand Down Expand Up @@ -131,7 +131,6 @@ dependencies = [
{org = "ballerina", name = "graphql"},
{org = "ballerina", name = "http"},
{org = "ballerina", name = "io"},
{org = "ballerina", name = "log"},
{org = "ballerina", name = "test"},
{org = "ballerina", name = "websocket"}
]
Expand Down Expand Up @@ -170,6 +169,7 @@ dependencies = [
]
modules = [
{org = "ballerina", packageName = "http", moduleName = "http"},
{org = "ballerina", packageName = "http", moduleName = "http.default"},
{org = "ballerina", packageName = "http", moduleName = "http.httpscerr"}
]

Expand Down
4 changes: 2 additions & 2 deletions ballerina-tests/graphql-security-test-suite/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.11.0-20250121-140200-15de3b28"
distribution-version = "2201.11.0-20250127-101700-a4b67fe5"

[[package]]
org = "ballerina"
Expand Down Expand Up @@ -130,7 +130,6 @@ dependencies = [
{org = "ballerina", name = "graphql"},
{org = "ballerina", name = "http"},
{org = "ballerina", name = "io"},
{org = "ballerina", name = "log"},
{org = "ballerina", name = "test"},
{org = "ballerina", name = "websocket"}
]
Expand Down Expand Up @@ -169,6 +168,7 @@ dependencies = [
]
modules = [
{org = "ballerina", packageName = "http", moduleName = "http"},
{org = "ballerina", packageName = "http", moduleName = "http.default"},
{org = "ballerina", packageName = "http", moduleName = "http.httpscerr"}
]

Expand Down
4 changes: 2 additions & 2 deletions ballerina-tests/graphql-service-test-suite/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.11.0-20250121-140200-15de3b28"
distribution-version = "2201.11.0-20250127-101700-a4b67fe5"

[[package]]
org = "ballerina"
Expand Down Expand Up @@ -127,7 +127,6 @@ dependencies = [
{org = "ballerina", name = "graphql"},
{org = "ballerina", name = "http"},
{org = "ballerina", name = "io"},
{org = "ballerina", name = "log"},
{org = "ballerina", name = "test"},
{org = "ballerina", name = "websocket"}
]
Expand Down Expand Up @@ -165,6 +164,7 @@ dependencies = [
]
modules = [
{org = "ballerina", packageName = "http", moduleName = "http"},
{org = "ballerina", packageName = "http", moduleName = "http.default"},
{org = "ballerina", packageName = "http", moduleName = "http.httpscerr"}
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.11.0-20250121-140200-15de3b28"
distribution-version = "2201.11.0-20250127-101700-a4b67fe5"

[[package]]
org = "ballerina"
Expand Down Expand Up @@ -122,7 +122,6 @@ dependencies = [
{org = "ballerina", name = "graphql"},
{org = "ballerina", name = "http"},
{org = "ballerina", name = "io"},
{org = "ballerina", name = "log"},
{org = "ballerina", name = "test"},
{org = "ballerina", name = "websocket"}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.11.0-20250121-140200-15de3b28"
distribution-version = "2201.11.0-20250127-101700-a4b67fe5"

[[package]]
org = "ballerina"
Expand Down Expand Up @@ -142,7 +142,6 @@ dependencies = [
{org = "ballerina", name = "graphql"},
{org = "ballerina", name = "http"},
{org = "ballerina", name = "io"},
{org = "ballerina", name = "log"},
{org = "ballerina", name = "test"},
{org = "ballerina", name = "websocket"}
]
Expand Down Expand Up @@ -181,6 +180,7 @@ dependencies = [
]
modules = [
{org = "ballerina", packageName = "http", moduleName = "http"},
{org = "ballerina", packageName = "http", moduleName = "http.default"},
{org = "ballerina", packageName = "http", moduleName = "http.httpscerr"}
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,4 @@ function testAttachServiceWithSubscriptionToHttp1BasedListener() returns error?
check common:validateNextMessage(wsClient1, expectedMsgPayload, id = "1");
check common:validateNextMessage(wsClient2, expectedMsgPayload, id = "2");
}
common:closeWebsocketClient(wsClient1);
common:closeWebsocketClient(wsClient2);
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ isolated function testContextWithSubscriptions() returns error? {
json expectedMsgPayload = {data: {messages: i}};
check common:validateNextMessage(wsClient, expectedMsgPayload);
}
common:closeWebsocketClient(wsClient);
}

@test:Config {
Expand All @@ -63,5 +62,4 @@ isolated function testContextWithInvalidScopeInSubscriptions() returns error? {
}
];
check common:validateErrorMessage(wsClient, expectedErrorPayload);
common:closeWebsocketClient(wsClient);
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ isolated function testSubscriptionWithConstraints() returns error? {
check common:sendSubscriptionMessage(wsClient, document, operationName = "Sub");
json expectedMsgPayload = check common:getJsonContentFromFile("constraints_with_subscription");
check common:validateErrorMessage(wsClient, expectedMsgPayload);
common:closeWebsocketClient(wsClient);
}

@test:Config {
Expand All @@ -51,6 +50,4 @@ isolated function testMultipleSubscriptionClientsWithConstraints() returns error
json expectedMsgPayload = check common:getJsonContentFromFile("constraints_with_subscription");
check common:validateErrorMessage(wsClient1, expectedMsgPayload, "1");
check common:validateErrorMessage(wsClient2, expectedMsgPayload, "2");
common:closeWebsocketClient(wsClient1);
common:closeWebsocketClient(wsClient2);
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ isolated function testSubscriptionMultiplexing() returns error? {
json expectedPayload = {'type: common:WS_NEXT, id: subscriptionId, payload: payload};
test:assertEquals(actualPayload, expectedPayload);
}
common:closeWebsocketClient(wsClient);
}

@test:Config {
Expand All @@ -67,7 +66,6 @@ isolated function testInvalidWebSocketRequestWithEmptyQuery() returns error? {
check common:sendSubscriptionMessage(wsClient, document);
json expectedMsgPayload = {errors: [{message: "An empty query is found"}]};
check common:validateErrorMessage(wsClient, expectedMsgPayload);
common:closeWebsocketClient(wsClient);
}

@test:Config {
Expand All @@ -83,7 +81,6 @@ isolated function testInvalidWebSocketRequestWithInvalidQuery() returns error? {
string expectedErrorMsg = "Invalid format: payload does not conform to the format required by the" +
" 'graphql-transport-ws' subprotocol: Status code: 1003";
common:validateConnectionClosureWithError(wsClient, expectedErrorMsg);
common:closeWebsocketClient(wsClient);
}

@test:Config {
Expand All @@ -98,7 +95,6 @@ isolated function testInvalidWebSocketRequestWithoutQuery() returns error? {
string expectedErrorMsg = "Invalid format: payload does not conform to the format required by the" +
" 'graphql-transport-ws' subprotocol: Status code: 1003";
common:validateConnectionClosureWithError(wsClient, expectedErrorMsg);
common:closeWebsocketClient(wsClient);
}

@test:Config {
Expand All @@ -115,7 +111,6 @@ isolated function testInvalidVariableInWebSocketPayload() returns error? {
string expectedErrorMsg = "Invalid format: payload does not conform to the format required by the" +
" 'graphql-transport-ws' subprotocol: Status code: 1003";
common:validateConnectionClosureWithError(wsClient, expectedErrorMsg);
common:closeWebsocketClient(wsClient);
}

@test:Config {
Expand All @@ -130,7 +125,6 @@ isolated function testEmptyWebSocketPayload() returns error? {
string expectedErrorMsg = "Invalid format: payload does not conform to the format required by the" +
" 'graphql-transport-ws' subprotocol: Status code: 1003";
common:validateConnectionClosureWithError(wsClient, expectedErrorMsg);
common:closeWebsocketClient(wsClient);
}

@test:Config {
Expand All @@ -144,5 +138,4 @@ isolated function testInvalidWebSocketPayload() returns error? {
string expectedErrorMsg = "Invalid format: payload does not conform to the format required by the"
+ " 'graphql-transport-ws' subprotocol: Status code: 1003";
common:validateConnectionClosureWithError(wsClient, expectedErrorMsg);
common:closeWebsocketClient(wsClient);
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ isolated function testSubscription() returns error? {
check common:validateNextMessage(wsClient, expectedMsgPayload);
expectedMsgPayload = {data: {name: "Skyler"}};
check common:validateNextMessage(wsClient, expectedMsgPayload);
common:closeWebsocketClient(wsClient);
}

@test:Config {
Expand Down Expand Up @@ -74,8 +73,6 @@ isolated function testSubscriptionsWithMultipleOperations() returns error? {
json actualPayload = check common:getJsonPayloadFromService(httpUrl, document, operationName = "getName");
json expectedPayload = {data: {name: "Walter White"}};
common:assertJsonValuesWithOrder(actualPayload, expectedPayload);
common:closeWebsocketClient(wsClient1);
common:closeWebsocketClient(wsClient2);
}

@test:Config {
Expand All @@ -93,7 +90,6 @@ isolated function testSubscriptionWithRecords() returns error? {
check common:validateNextMessage(wsClient, expectedMsgPayload);
expectedMsgPayload = {data: {books: {name: "A Game of Thrones", author: "George R.R. Martin"}}};
check common:validateNextMessage(wsClient, expectedMsgPayload);
common:closeWebsocketClient(wsClient);
}

@test:Config {
Expand Down Expand Up @@ -122,7 +118,6 @@ isolated function testSubscriptionWithFragments() returns error? {
check common:validateNextMessage(wsClient, expectedMsgPayload);
expectedMsgPayload = {data: {students: {id: 2, name: "Mikasa Ackerman"}}};
check common:validateNextMessage(wsClient, expectedMsgPayload);
common:closeWebsocketClient(wsClient);
}

@test:Config {
Expand All @@ -140,7 +135,6 @@ isolated function testSubscriptionWithUnionType() returns error? {
check common:validateNextMessage(wsClient, expectedMsgPayload);
expectedMsgPayload = {data: {multipleValues: {name: "Walter White", subject: "Chemistry"}}};
check common:validateNextMessage(wsClient, expectedMsgPayload);
common:closeWebsocketClient(wsClient);
}

@test:Config {
Expand All @@ -159,5 +153,4 @@ isolated function testSubscriptionWithVariables() returns error? {
json expectedMsgPayload = {data: {filterValues: i}};
check common:validateNextMessage(wsClient, expectedMsgPayload);
}
common:closeWebsocketClient(wsClient);
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,4 @@ isolated function testConnectionClosureWhenPongNotReceived() returns error? {
}
test:assertTrue(response is error, "Expected connection closure error");
test:assertEquals((<error>response).message(), "Request timeout: Status code: 4408");
common:closeWebsocketClient(wsClient);
}
Loading

0 comments on commit 9af289b

Please sign in to comment.