Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test server does not appear to work #269

Closed
ankrgyl opened this issue Mar 21, 2022 · 1 comment · Fixed by #270
Closed

Test server does not appear to work #269

ankrgyl opened this issue Mar 21, 2022 · 1 comment · Fixed by #270
Assignees

Comments

@ankrgyl
Copy link

ankrgyl commented Mar 21, 2022

I am sure I am missing something... so apologies if there is somewhere obvious I should have figured this out. I was attempting to use stork test on my newly generated search index, and I encountered a few different issues:

  1. The documentation suggests that you use stork test --input; however, the command line appears to want --config or --index:
$ stork test
Error: `Test server requires either --config or --index`
  1. If you run it with --index, you get the same error as above ^^
$ stork test --index my-docs.st
Error: `Test server requires either --config or --index`
  1. If you run it with --config, you get an error message that stork was not compiled with support for the test server. I tried downloading the Mac OS X release (./stork-macos-10-15) and observed the same error.
$ stork test --config basic.toml
Stork was not compiled with test server support. Rebuild the crate with default features to enable the test server
  1. I tried manually compiling with test-server-enabled and saw a bunch of errors (but did not investigate further).

It was easy enough to get a basic HTML file + webserver running locally for simple testing, so I'm not at all blocked by this, but thought I'd report it in case it's helpful.

@jameslittle230
Copy link
Owner

Thanks - this was broken for a few different reasons. I put up a PR to fix it and the test server should be working in the next version.

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

Successfully merging a pull request may close this issue.

2 participants