mario-goulart / awful

awful provides an application and an extension to ease the development of web-based applications in CHICKEN Scheme
http://wiki.call-cc.org/egg/awful
Other
75 stars 6 forks source link

Make port for tests configurable #4

Closed sjamaan closed 10 years ago

sjamaan commented 10 years ago

I tried running Salmonella while having the webserver that serves up the results listen on port 8080. This broke several tests, which for Spiffy and estraier-client can be fixed by setting an environment variable, but the Awful tests are hardcoded to use port 8080.

This should be fixed in Awful. Ideally there would be a way to have Salmonella communicate available ports to the tests, such that all tests can make use of this, but that's more of a long-term Salmonella feature request than an Awful bugreport :)

BTW, I've now worked around it by changing the server to use port 8000, so starting tomorrow the tests should succeed on http://salmonella-freebsd-x86-64.call-cc.org/.

mario-goulart commented 10 years ago

Thanks, Peter. I'm gonna implement that. Probably by respecting SPIFFY_TEST_PORT, like spiffy does.

Yes, salmonella should do that, but that'll require some more work. :-)

mario-goulart commented 10 years ago

b9a2c11752b88cbb9604cb4010d509b4c1b34b8e makes awful tests use SPIFFY_TEST_PORT