diff --git a/ballerina-tests/graphql-dataloader-test-suite/tests/01_dataloader_tests.bal b/ballerina-tests/graphql-dataloader-test-suite/tests/01_dataloader_tests.bal index 17bc71db8..59ac7b763 100644 --- a/ballerina-tests/graphql-dataloader-test-suite/tests/01_dataloader_tests.bal +++ b/ballerina-tests/graphql-dataloader-test-suite/tests/01_dataloader_tests.bal @@ -48,6 +48,7 @@ isolated function testDataLoaderWithDifferentAliasForSameField() returns error? } @test:Config { + enable: false, groups: ["subscriptions", "dataloader"], after: resetDispatchCounters } @@ -68,8 +69,8 @@ isolated function testDataLoaderWithSubscription() returns error? { @test:Config { groups: ["dataloader", "mutation"], dependsOn: [ - testDataLoaderWithQuery, - testDataLoaderWithSubscription + testDataLoaderWithQuery + // ,testDataLoaderWithSubscription ], after: resetDispatchCounters } diff --git a/ballerina-tests/graphql-subscription-test-suite/modules/five/tests/01_subscription_five_tests.bal b/ballerina-tests/graphql-subscription-test-suite/modules/five/tests/01_subscription_five_tests.bal index e8b26a43a..e7237caa2 100644 --- a/ballerina-tests/graphql-subscription-test-suite/modules/five/tests/01_subscription_five_tests.bal +++ b/ballerina-tests/graphql-subscription-test-suite/modules/five/tests/01_subscription_five_tests.bal @@ -20,6 +20,7 @@ import ballerina/test; import ballerina/websocket; @test:Config { + enable: false, groups: ["listener", "subscriptions"] } function testAttachServiceWithSubscriptionToHttp2BasedListener() returns error? { @@ -32,6 +33,7 @@ function testAttachServiceWithSubscriptionToHttp2BasedListener() returns error? } @test:Config { + enable: false, groups: ["listener", "subscriptions"] } function testAttachServiceWithSubscriptionToHttp1BasedListener() returns error? { diff --git a/ballerina-tests/graphql-subscription-test-suite/modules/five/tests/02_subscription_with_context.bal b/ballerina-tests/graphql-subscription-test-suite/modules/five/tests/02_subscription_with_context.bal index 76b55fcc6..308bd271a 100644 --- a/ballerina-tests/graphql-subscription-test-suite/modules/five/tests/02_subscription_with_context.bal +++ b/ballerina-tests/graphql-subscription-test-suite/modules/five/tests/02_subscription_with_context.bal @@ -19,6 +19,7 @@ import ballerina/test; import ballerina/websocket; @test:Config { + enable: false, groups: ["context", "subscriptions"] } isolated function testContextWithSubscriptions() returns error? { @@ -40,6 +41,7 @@ isolated function testContextWithSubscriptions() returns error? { } @test:Config { + enable: false, groups: ["context", "subscriptions"] } isolated function testContextWithInvalidScopeInSubscriptions() returns error? { diff --git a/ballerina-tests/graphql-subscription-test-suite/modules/five/tests/03_subscription_with_constraint.bal b/ballerina-tests/graphql-subscription-test-suite/modules/five/tests/03_subscription_with_constraint.bal index 752b0a158..93210863a 100644 --- a/ballerina-tests/graphql-subscription-test-suite/modules/five/tests/03_subscription_with_constraint.bal +++ b/ballerina-tests/graphql-subscription-test-suite/modules/five/tests/03_subscription_with_constraint.bal @@ -19,6 +19,7 @@ import ballerina/test; import ballerina/websocket; @test:Config { + enable: false, groups: ["constraints", "subscriptions"] } isolated function testSubscriptionWithConstraints() returns error? { @@ -33,6 +34,7 @@ isolated function testSubscriptionWithConstraints() returns error? { } @test:Config { + enable: false, groups: ["constraints", "subscriptions"] } isolated function testMultipleSubscriptionClientsWithConstraints() returns error? { diff --git a/ballerina-tests/graphql-subscription-test-suite/modules/four/tests/01_subscription_four_tests.bal b/ballerina-tests/graphql-subscription-test-suite/modules/four/tests/01_subscription_four_tests.bal index 64590962d..210c99cbb 100644 --- a/ballerina-tests/graphql-subscription-test-suite/modules/four/tests/01_subscription_four_tests.bal +++ b/ballerina-tests/graphql-subscription-test-suite/modules/four/tests/01_subscription_four_tests.bal @@ -20,6 +20,7 @@ import ballerina/test; import ballerina/websocket; @test:Config { + enable: false, groups: ["subscriptions", "multiplexing"] } isolated function testSubscriptionMultiplexing() returns error? { @@ -55,6 +56,7 @@ isolated function testSubscriptionMultiplexing() returns error? { } @test:Config { + enable: false, groups: ["request_validation", "websocket", "subscriptions"] } isolated function testInvalidWebSocketRequestWithEmptyQuery() returns error? { @@ -69,6 +71,7 @@ isolated function testInvalidWebSocketRequestWithEmptyQuery() returns error? { } @test:Config { + enable: false, groups: ["request_validation", "websocket", "subscriptions"] } isolated function testInvalidWebSocketRequestWithInvalidQuery() returns error? { @@ -84,6 +87,7 @@ isolated function testInvalidWebSocketRequestWithInvalidQuery() returns error? { } @test:Config { + enable: false, groups: ["request_validation", "websocket", "subscriptions"] } isolated function testInvalidWebSocketRequestWithoutQuery() returns error? { @@ -98,6 +102,7 @@ isolated function testInvalidWebSocketRequestWithoutQuery() returns error? { } @test:Config { + enable: false, groups: ["request_validation", "websocket", "subscriptions"] } isolated function testInvalidVariableInWebSocketPayload() returns error? { @@ -114,6 +119,7 @@ isolated function testInvalidVariableInWebSocketPayload() returns error? { } @test:Config { + enable: false, groups: ["request_validation", "websocket", "subscriptions"] } isolated function testEmptyWebSocketPayload() returns error? { @@ -128,6 +134,7 @@ isolated function testEmptyWebSocketPayload() returns error? { } @test:Config { + enable: false, groups: ["request_validation", "websocket", "subscriptions"] } isolated function testInvalidWebSocketPayload() returns error? { diff --git a/ballerina-tests/graphql-subscription-test-suite/modules/one/tests/01_subscription_tests.bal b/ballerina-tests/graphql-subscription-test-suite/modules/one/tests/01_subscription_tests.bal index 8cf319786..ba6dd2046 100644 --- a/ballerina-tests/graphql-subscription-test-suite/modules/one/tests/01_subscription_tests.bal +++ b/ballerina-tests/graphql-subscription-test-suite/modules/one/tests/01_subscription_tests.bal @@ -19,6 +19,7 @@ import ballerina/test; import ballerina/websocket; @test:Config { + enable: false, groups: ["subscriptions"] } isolated function testSubscription() returns error? { @@ -36,6 +37,7 @@ isolated function testSubscription() returns error? { } @test:Config { + enable: false, groups: ["subscriptions"] } isolated function testSubscriptionWithoutSubProtocol() returns error? { @@ -47,6 +49,7 @@ isolated function testSubscriptionWithoutSubProtocol() returns error? { } @test:Config { + enable: false, groups: ["subscriptions"] } isolated function testSubscriptionsWithMultipleOperations() returns error? { @@ -76,6 +79,7 @@ isolated function testSubscriptionsWithMultipleOperations() returns error? { } @test:Config { + enable: false, groups: ["records", "subscriptions"] } isolated function testSubscriptionWithRecords() returns error? { @@ -93,6 +97,7 @@ isolated function testSubscriptionWithRecords() returns error? { } @test:Config { + enable: false, groups: ["subscriptions"] } isolated function testQueryWithSameSubscriptionFieldName() returns error? { @@ -104,6 +109,7 @@ isolated function testQueryWithSameSubscriptionFieldName() returns error? { } @test:Config { + enable: false, groups: ["fragments", "subscriptions"] } isolated function testSubscriptionWithFragments() returns error? { @@ -121,6 +127,7 @@ isolated function testSubscriptionWithFragments() returns error? { } @test:Config { + enable: false, groups: ["union", "subscriptions"] } isolated function testSubscriptionWithUnionType() returns error? { @@ -138,6 +145,7 @@ isolated function testSubscriptionWithUnionType() returns error? { } @test:Config { + enable: false, groups: ["variables", "subscriptions"] } isolated function testSubscriptionWithVariables() returns error? { diff --git a/ballerina-tests/graphql-subscription-test-suite/modules/six/tests/01_subscription_six_tests.bal b/ballerina-tests/graphql-subscription-test-suite/modules/six/tests/01_subscription_six_tests.bal index a75f2be7f..750fe54bb 100644 --- a/ballerina-tests/graphql-subscription-test-suite/modules/six/tests/01_subscription_six_tests.bal +++ b/ballerina-tests/graphql-subscription-test-suite/modules/six/tests/01_subscription_six_tests.bal @@ -19,6 +19,7 @@ import ballerina/test; import ballerina/websocket; @test:Config { + enable: false, groups: ["subscriptions", "service"] } isolated function testConnectionClousureWhenPongNotRecived() returns error? { diff --git a/ballerina-tests/graphql-subscription-test-suite/modules/six/tests/01_subscription_with_interceptors.bal b/ballerina-tests/graphql-subscription-test-suite/modules/six/tests/01_subscription_with_interceptors.bal index f61e6575e..d46809d56 100644 --- a/ballerina-tests/graphql-subscription-test-suite/modules/six/tests/01_subscription_with_interceptors.bal +++ b/ballerina-tests/graphql-subscription-test-suite/modules/six/tests/01_subscription_with_interceptors.bal @@ -19,6 +19,7 @@ import ballerina/test; import ballerina/websocket; @test:Config { + enable: false, groups: ["interceptors", "subscriptions"] } isolated function testInterceptorsWithSubscriptionReturningScalar() returns error? { @@ -41,6 +42,7 @@ isolated function testInterceptorsWithSubscriptionReturningScalar() returns erro } @test:Config { + enable: false, groups: ["interceptors", "subscriptions", "records"] } isolated function testInterceptorsWithSubscriptionReturningRecord() returns error? { @@ -63,6 +65,7 @@ isolated function testInterceptorsWithSubscriptionReturningRecord() returns erro } @test:Config { + enable: false, groups: ["interceptors", "fragments", "subscriptions"] } isolated function testInterceptorsWithSubscriptionAndFragments() returns error? { @@ -85,6 +88,7 @@ isolated function testInterceptorsWithSubscriptionAndFragments() returns error? } @test:Config { + enable: false, groups: ["interceptors", "union", "subscriptions"] } isolated function testInterceptorsWithUnionTypeSubscription() returns error? { @@ -128,6 +132,7 @@ isolated function testInterceptorsWithUnionTypeSubscription() returns error? { } @test:Config { + enable: false, groups: ["interceptors", "subscriptions"] } isolated function testInterceptorsReturnBeforeResolverWithSubscription() returns error? { @@ -150,6 +155,7 @@ isolated function testInterceptorsReturnBeforeResolverWithSubscription() returns } @test:Config { + enable: false, groups: ["interceptors", "subscriptions"] } isolated function testInterceptorsDestructiveModificationWithSubscription() returns error? { @@ -198,6 +204,7 @@ isolated function testInterceptorsDestructiveModificationWithSubscription() retu } @test:Config { + enable: false, groups: ["interceptors", "subscriptions"] } isolated function testInterceptorsWithSubscribersRunSimultaniously1() returns error? { @@ -237,6 +244,7 @@ isolated function testInterceptorsWithSubscribersRunSimultaniously1() returns er } @test:Config { + enable: false, groups: ["interceptors", "union", "subscriptions"] } isolated function testInterceptorsWithSubscribersRunSimultaniously2() returns error? { diff --git a/ballerina-tests/graphql-subscription-test-suite/modules/three/tests/01_subscription_three_tests.bal b/ballerina-tests/graphql-subscription-test-suite/modules/three/tests/01_subscription_three_tests.bal index ecade6828..b205db3cf 100644 --- a/ballerina-tests/graphql-subscription-test-suite/modules/three/tests/01_subscription_three_tests.bal +++ b/ballerina-tests/graphql-subscription-test-suite/modules/three/tests/01_subscription_three_tests.bal @@ -19,6 +19,7 @@ import ballerina/test; import ballerina/websocket; @test:Config { + enable: false, groups: ["subscriptions"] } function testAlreadyExistingSubscriber() returns error? { @@ -51,6 +52,7 @@ function testAlreadyExistingSubscriber() returns error? { } @test:Config { + enable: false, groups: ["subscriptions"] } isolated function testOnPing() returns error? { @@ -63,6 +65,7 @@ isolated function testOnPing() returns error? { } @test:Config { + enable: false, groups: ["subscriptions"] } isolated function testInvalidSubProtocolInSubscriptions() returns error? { @@ -77,6 +80,7 @@ isolated function testInvalidSubProtocolInSubscriptions() returns error? { } @test:Config { + enable: false, groups: ["subscriptions", "runtime_errors"] } isolated function testErrorsInStreams() returns error? { @@ -96,6 +100,7 @@ isolated function testErrorsInStreams() returns error? { } @test:Config { + enable: false, groups: ["subscriptions"] } isolated function testMultipleSubscriptionUsingSingleClient() returns error? { @@ -121,6 +126,7 @@ isolated function testMultipleSubscriptionUsingSingleClient() returns error? { } @test:Config { + enable: false, groups: ["subscriptions"] } isolated function testSubscriptionWithInvalidPayload() returns error? { @@ -137,6 +143,7 @@ isolated function testSubscriptionWithInvalidPayload() returns error? { } @test:Config { + enable: false, groups: ["subscriptions", "recrods", "service"] } isolated function testResolverReturingStreamOfRecordsWithServiceObjects() returns error? { @@ -152,6 +159,7 @@ isolated function testResolverReturingStreamOfRecordsWithServiceObjects() return } @test:Config { + enable: false, groups: ["subscriptions", "recrods", "service", "maps"] } isolated function testResolverReturingStreamOfRecordsWithMapOfServiceObjects() returns error? { diff --git a/ballerina-tests/graphql-subscription-test-suite/modules/two/tests/01_subscription_two_tests.bal b/ballerina-tests/graphql-subscription-test-suite/modules/two/tests/01_subscription_two_tests.bal index b812b29fb..62dd04d7c 100644 --- a/ballerina-tests/graphql-subscription-test-suite/modules/two/tests/01_subscription_two_tests.bal +++ b/ballerina-tests/graphql-subscription-test-suite/modules/two/tests/01_subscription_two_tests.bal @@ -19,6 +19,7 @@ import ballerina/test; import ballerina/websocket; @test:Config { + enable: false, groups: ["introspection", "typename", "subscriptions"] } isolated function testSubscriptionWithIntrospectionInFields() returns error? { @@ -34,6 +35,7 @@ isolated function testSubscriptionWithIntrospectionInFields() returns error? { } @test:Config { + enable: false, groups: ["subscriptions"] } isolated function testInvalidSubscription() returns error? { @@ -49,6 +51,7 @@ isolated function testInvalidSubscription() returns error? { } @test:Config { + enable: false, groups: ["subscriptions"] } isolated function testSubscriptionFunctionWithErrors() returns error? { @@ -70,6 +73,7 @@ isolated function testSubscriptionFunctionWithErrors() returns error? { } @test:Config { + enable: false, groups: ["service", "subscriptions"] } isolated function testSubscriptionWithServiceObjects() returns error? { @@ -88,6 +92,7 @@ isolated function testSubscriptionWithServiceObjects() returns error? { } @test:Config { + enable: false, groups: ["subscriptions"] } isolated function testSubscriptionWithMultipleClients() returns error? { @@ -125,6 +130,7 @@ isolated function testConnectionInitMessage() returns error? { } @test:Config { + enable: false, groups: ["subscriptions"] } isolated function testInvalidMultipleConnectionInitMessages() returns error? { @@ -139,6 +145,7 @@ isolated function testInvalidMultipleConnectionInitMessages() returns error? { } @test:Config { + enable: false, groups: ["subscriptions"] } isolated function testUnauthorizedAccess() returns error? { diff --git a/ballerina/tests/03_subscriptions.bal b/ballerina/tests/03_subscriptions.bal index ec55bef6b..844acede6 100644 --- a/ballerina/tests/03_subscriptions.bal +++ b/ballerina/tests/03_subscriptions.bal @@ -18,6 +18,7 @@ import ballerina/test; import graphql.parser; @test:Config { + enable: false, groups: ["subscriptions", "validation"], dataProvider: dataProviderSubscriptionValidation }