-
Notifications
You must be signed in to change notification settings - Fork 84
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
Add incoming/indexer/storage information to V1 API's status endpoint #1078
Conversation
@chungg @tobias-urdin I've rebased this myself since it wasn't able to be cleanly done. Plus it looks like @leo-naeka might not be interested in carrying this anymore, so I might take over. |
015f41c
to
5b462ec
Compare
the So we should fix that and rebase this onto that. Meanwhile will also deal with the comments by @jd in the previous pull request. |
caeeb37
to
9948f88
Compare
Getting tests to run locally is proving to be a bit of a pain, but |
Some errors seem explicit:
|
9948f88
to
4e2f605
Compare
Good catch! I've added that now to the FakeSwiftClient, but for now only returning an empty dict. Will have to think about what will be a more appropriate default test return value. |
7011278
to
65edf38
Compare
@jd Still have a few more of your comments from the other pull request to do, and need to add some more tests, but it's slowly starting to make sense to me. At least this code, and the project itself a little. Although gabbi confuses me a little because finding the specific test it ran isn't a simple grep/text search due to the test name in repo appearing differently to the name in the failure. :( It might be worth renaming all the tests with _ rather than spaces to make them easier to search, or I wonder if gabbi has a setting for more verbose test names in failures to make that clearer. |
@cdent might know about Gabbi. Usually, I didn't find those hard to find with a |
That's what I tend to do. I agree that it's kind of a pain, and an extra step, but there's a conflict between trying to make the yaml files somewhat readable (they are supposed to be as much a thing for humans as for computers) and the demands of Certainly if one wanted to rename the There's another complicating factor: Yesterday lbragstad noticed that when testtools was removed from gabbi, output and logging capture fixtures stopped working. That may make finding and dealing with failures a bit more messy. If that proves to be an issue, downgrading to |
@cdent I think for me gabbi is weird because I'm used to the python module.class.function path for tests, and gabbi fakes that. Maybe when a test fails it could also print out the relative file path location/test name? Or have a verbosity setting to enable that. I found my way around it ultimately, but just felt a little weird for someone who tends to stick with more standard python unit testing. |
65edf38
to
5ba40a7
Compare
5ba40a7
to
6e84dd0
Compare
The code that launches the tests is responsible for setting the "faked" name, see https://gabbi.readthedocs.io/en/latest/gabbi.html#gabbi.driver.build_tests From that it's usually possible to make the test name point to the yaml file, or at least very close. |
@Mergifyio rebase |
❌ Base branch update has failedNo oauth valid tokens |
@unexceptable Hello 👋 are you still working on this? |
Closing, feel free to reopen. |
Rebase of #995 with fixed for pep8.