Closed bwindels closed 5 years ago
I had originally created the tests against an explictly set HS, and then changed it to the default HS as that is the most common case. Hm...
This will make the debug experience a lot nicer, because now you need to symlink riot-web, manually build it and use the ./riot/start.sh script to temporarily copy over the riot config file so the default HS is the tests synapse instance. If we can easily disable the tests that test the default HS case, we can debug the tests with a simple ./synapse/start.sh
and node start.js --debug --riot-url http://localhost:8080 --hs-url http://localhost:5005
because when passing --riot-url, riot doesn't use our config file, so the configuration of the default homeserver might be different than what the tests require. Also it might also not be a local server, ...