I have created a test case having one data source test step. I am calling it from other test case as 'RunTestCase'. It works sometimes but most of the times it gets failed. In error log, error is "Incorrect JDBC URL". I investigated and it seems that ready api is using password from wrong environment (which is currently not selected). Ideally it should use current environment's values. All other values are from current environment but only password is wrong in JDBC URL.
Note: This issue is coming only when i call from shared test case. If i run the data source test case directly it succeeds.