Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

testsuite runner spontaneously tries to connect to http://localhost:8080 #236

Open
michielbdejong opened this issue Apr 1, 2019 · 1 comment

Comments

@michielbdejong
Copy link

michielbdejong commented Apr 1, 2019

I saw tests failing with 'could not connect to http://localhost:8080'. That was odd because my LDP server runs on :8000, not :8080. When I run python -m SimpleHTTPServer 8080 in a separate terminal window, the error disappears.

I now see, however, that the DELETE step of testPostContainer gets done on :8080 instead of on :8000 so unless I'm missing something here, that all seems a bit messy.

I updated my workaround from #235 (comment) to use port 8080 instead of port 8000 and that seems to work so far as a workaround for this issue as well.

I grepped the source of this repo for '8080' and found https://github.com/w3c/ldp-testsuite/blob/master/testng.xml#L10 but not sure how that could be related to this behavior.

@michielbdejong
Copy link
Author

I should probably clarify, this was using the trellis-ldp fork of this testsuite, which is the only one that currently works in terms of up-to-date dependencies, I think.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant