[Bug]: bal test required to provide values to configurables which are not used in the testcases #41792
Labels
Area/Configurable
Runtime configurable related issues
Team/jBallerina
All the issues related to BIR, JVM backend code generation and runtime
Type/Bug
Description
The Ballerina project contains the
initializeClient
function which is used to initialize MySQL client.To initialize the client, we need to set the following set of configurable,
In the test cases, we try to mock the
initializeClient
and mock the MySQL client with the H2 client like below,For the H2 client, we are setting the following values in the
Config.toml
file,When we add only H2 client-related configuration, the
bal test
fails and asks for values for the MySQL configuration which is not used in the test cases.Steps to Reproduce
Project Source: https://github.com/daneshk/persist-test-samples/blob/main/mock_with_h2/tests/Config.toml
Affected Version(s)
Ballerina Swan Lake
The text was updated successfully, but these errors were encountered: