#Connection to STS EP fails when executing test cases
1 messages · Page 1 of 1 (latest)
The client is initialised via another function which i call from findTxxGiftxx(..)
I see. What's the command you are using to run? bal test or bal run?
when i run locally, what i did was I spawned the STS with bal run --offline and ran bal test (this works). When i just run bal test i get this error. When i use the hackthon ide and click on run code i get the same error
so shouldn't be something with functionality.. most probably for some reason when the test function is called the STS server port might be getting inaccessible
Backend servers are not started for bal run . Those are only started for bal test as mentioned in test environment section. I wonder why it is not working for you.
Do you mind PM'ing the code?
yes