mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-05 16:15:56 +00:00
this should be a lot more reliable than trying to construct it based on the project name as the exact construction can differ between docker-compose versions. There was also an issue with the backups succeeding when they should fail in the test. There's an arcane maze of HTTP timeouts to navigate here, but basically there are situations where the client will just wait forever rather than erroring if the server is paused at the right(wrong) time. I'm not convinced we've solved every possible case of this, so we still may see the backup succeed even when it's supposed to fail. The ultimate hammer is to add Client.Timeout, but that's a very blunt instrument and I'm afraid it could cause a timeout when really we just have a lot of data to download or something. There may be a better way to say "only time out if you literally haven't heard a peep from the server in this long", but I haven't been able to figure it out yet. I also fixed how the authclustertests are run as they weren't using the PROJECT parameter correctly. Now they can run concurrently with clustertests, and with other copies of authclustertests without having conflicts. |
||
|---|---|---|
| .. | ||
| client.go | ||
| client_test.go | ||
| error.go | ||
| handler.go | ||
| handler_internal_test.go | ||
| handler_test.go | ||
| translator.go | ||
| translator_test.go | ||