Skip to content

Commit fb8af22

Browse files
authored
chore: bump reva (#1701)
* chore: bump reva * enhancement(test): add postprocessing wait helper
1 parent f04f6ad commit fb8af22

File tree

8 files changed

+125
-46
lines changed

8 files changed

+125
-46
lines changed

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ require (
6565
github.com/open-policy-agent/opa v1.9.0
6666
github.com/opencloud-eu/icap-client v0.0.0-20250930132611-28a2afe62d89
6767
github.com/opencloud-eu/libre-graph-api-go v1.0.8-0.20250724122329-41ba6b191e76
68-
github.com/opencloud-eu/reva/v2 v2.39.1-0.20251023125727-bf6471473de6
68+
github.com/opencloud-eu/reva/v2 v2.39.1-0.20251027101010-5f317aacd03b
6969
github.com/opensearch-project/opensearch-go/v4 v4.5.0
7070
github.com/orcaman/concurrent-map v1.0.0
7171
github.com/pkg/errors v0.9.1
@@ -380,7 +380,6 @@ require (
380380
golang.org/x/sys v0.37.0 // indirect
381381
golang.org/x/time v0.13.0 // indirect
382382
golang.org/x/tools v0.37.0 // indirect
383-
golang.org/x/tools/godoc v0.1.0-deprecated // indirect
384383
google.golang.org/genproto v0.0.0-20250303144028-a0af3efb3deb // indirect
385384
google.golang.org/genproto/googleapis/rpc v0.0.0-20250929231259-57b25ae835d4 // indirect
386385
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -948,8 +948,8 @@ github.com/opencloud-eu/icap-client v0.0.0-20250930132611-28a2afe62d89 h1:W1ms+l
948948
github.com/opencloud-eu/icap-client v0.0.0-20250930132611-28a2afe62d89/go.mod h1:vigJkNss1N2QEceCuNw/ullDehncuJNFB6mEnzfq9UI=
949949
github.com/opencloud-eu/libre-graph-api-go v1.0.8-0.20250724122329-41ba6b191e76 h1:vD/EdfDUrv4omSFjrinT8Mvf+8D7f9g4vgQ2oiDrVUI=
950950
github.com/opencloud-eu/libre-graph-api-go v1.0.8-0.20250724122329-41ba6b191e76/go.mod h1:pzatilMEHZFT3qV7C/X3MqOa3NlRQuYhlRhZTL+hN6Q=
951-
github.com/opencloud-eu/reva/v2 v2.39.1-0.20251023125727-bf6471473de6 h1:L3OSIbnxc12GCJtV6NItBRCjdVCHXXWf+nUOMIIRiJs=
952-
github.com/opencloud-eu/reva/v2 v2.39.1-0.20251023125727-bf6471473de6/go.mod h1:W1dC+qc2D0WPK3vfZ5ZAcKHxbwII3L9MG8ouGqrd1z4=
951+
github.com/opencloud-eu/reva/v2 v2.39.1-0.20251027101010-5f317aacd03b h1:pgVcBeiF5PN8tnQIbPyykLgvgJwqryT0iK/AljKXvoI=
952+
github.com/opencloud-eu/reva/v2 v2.39.1-0.20251027101010-5f317aacd03b/go.mod h1:4CgDhO6Pc+HLdNI7+Rep8N0bc7qP9novdcv764IMpmM=
953953
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
954954
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
955955
github.com/opencontainers/image-spec v1.1.1 h1:y0fUlFfIZhPF1W537XOLg0/fcx6zcHCJwooC2xJA040=

tests/acceptance/bootstrap/WebDav.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,17 @@ public function userDownloadsFileWithRangeUsingWebDavApi(string $user, string $f
741741
$this->setResponse($this->downloadFileWithRange($user, $fileSource, $range));
742742
}
743743

744+
/**
745+
* @When the user waits for :time seconds for postprocessing to finish
746+
*
747+
* @param int $time
748+
*
749+
* @return void
750+
*/
751+
public function waitForCertainSeconds(int $time): void {
752+
\sleep($time);
753+
}
754+
744755
/**
745756
* @Then /^user "([^"]*)" using password "([^"]*)" should not be able to download file "([^"]*)"$/
746757
*

tests/acceptance/features/coreApiWebdavUploadTUS/lowLevelUpload.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Feature: low level tests for upload of chunks
5050
| Upload-Metadata | filename ZmlsZS50eHQ= |
5151
When user "Alice" sends a chunk to the last created TUS Location with offset "0" and data "123" using the WebDAV API
5252
And user "Alice" sends a chunk to the last created TUS Location with offset "3" and data "4567890" using the WebDAV API
53+
And the user waits for "2" seconds for postprocessing to finish
5354
And user "Alice" sends a chunk to the last created TUS Location with offset "3" and data "0000000" using the WebDAV API
5455
Then the HTTP status code should be "404"
5556
And the content of file "/file.txt" for user "Alice" should be "1234567890"

vendor/github.com/opencloud-eu/reva/v2/pkg/storage/fs/posix/blobstore/blobstore.go

Lines changed: 91 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/opencloud-eu/reva/v2/pkg/storage/fs/posix/tree/tree.go

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/opencloud-eu/reva/v2/pkg/storage/pkg/decomposedfs/upload/upload.go

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1340,7 +1340,7 @@ github.com/opencloud-eu/icap-client
13401340
# github.com/opencloud-eu/libre-graph-api-go v1.0.8-0.20250724122329-41ba6b191e76
13411341
## explicit; go 1.18
13421342
github.com/opencloud-eu/libre-graph-api-go
1343-
# github.com/opencloud-eu/reva/v2 v2.39.1-0.20251023125727-bf6471473de6
1343+
# github.com/opencloud-eu/reva/v2 v2.39.1-0.20251027101010-5f317aacd03b
13441344
## explicit; go 1.24.1
13451345
github.com/opencloud-eu/reva/v2/cmd/revad/internal/grace
13461346
github.com/opencloud-eu/reva/v2/cmd/revad/runtime
@@ -2516,8 +2516,6 @@ golang.org/x/tools/internal/stdlib
25162516
golang.org/x/tools/internal/typeparams
25172517
golang.org/x/tools/internal/typesinternal
25182518
golang.org/x/tools/internal/versions
2519-
# golang.org/x/tools/godoc v0.1.0-deprecated
2520-
## explicit; go 1.24.0
25212519
# google.golang.org/genproto v0.0.0-20250303144028-a0af3efb3deb
25222520
## explicit; go 1.23.0
25232521
google.golang.org/genproto/protobuf/field_mask

0 commit comments

Comments
 (0)