Giter Club home page Giter Club logo

Comments (4)

mpiraux avatar mpiraux commented on July 30, 2024 1

I should indeed document the hosts file format. It's a tab-separated value file with the following columns:

  • The host and port used for hq tests (i.e. tests that don't use HTTP/3 but rely on the HTTP interop protocol)
  • The path to request when a test needs to retrieve some data
  • The port to use for HTTP3 tests
  • "h3" or "hq", depending on whether the implements hq amongst others or only implements HTTP/3

So in your case, assuming you would like to only run tests against Google's IETF QUIC test endpoint it should look like:

quic.rocks:4433 /index.html 4433 h3

I should probably change that format to something more friendly. I don't even recall why I chose TSV in the first place.
You also seem to have a docker issue. I guess this solution is handy: https://stackoverflow.com/a/60315076.

from quic-tracker.

mpiraux avatar mpiraux commented on July 30, 2024 1

hosts.txt
I just ran your command line with the hosts file above and it worked. I believe it is still a tab issue in the file.

from quic-tracker.

silverbucket avatar silverbucket commented on July 30, 2024 1

@mpiraux You are correct, I double checked yesterday and was certain it was, but diffing the files proves otherwise. I agree something other than tabs as a delimiter would be helpful :) thank you!

from quic-tracker.

silverbucket avatar silverbucket commented on July 30, 2024

Thanks @mpiraux - I've updated the file based on your example, making sure tab character is the delimiter, I also checked out that stack overflow page and it does seem to resolve the no such file issue, however I'm now getting a runtime error with go index out of range.

$ cat hosts.txt
quic.rocks:4443 /index.html 4443  h3
$ docker run -v "$PWD:$PWD" -w "$PWD" --network="host" quictracker/quictracker /test_suite -hosts ./hosts.txt
panic: runtime error: index out of range

goroutine 1 [running]:
main.main()
	/go/src/github.com/QUIC-Tracker/quic-tracker/bin/test_suite/test_suite.go:102 +0x13d7

I believe this is a go issue but not sure what the problem is, I'm afraid I have no experience with go. Does it give you any clues?

from quic-tracker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.