Include s3/website test only when k2v is enabled #556
No reviewers
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#556
Loading…
Reference in a new issue
No description provided.
Delete branch "jirutka/garage:fix-website-test-k2v"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It depends on k2v feature, so fails to build when k2v is disabled.
I don't think any of these tests depends on k2v. What error are you getting?
1ecd88c01f/src/garage/tests/s3/website.rs
:hum, that function isn't specific to k2v, it's currently in
:/garage/src/garage/tests/k2v/mod.rs
, but its place should probably be:/garage/src/garage/tests/lib.rs
instead. That would fix your issue, and not disable some tests when they could be enabledBTW, the error message is this:
See the comment of @trinity-1686a : the
json_body
function needs to be moved, not the entire module disabled.Fixed in #619
Pull request closed