Skip to content

Commit

Permalink
Add test for streaming uploads (should fail on gemstone)
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Brichau committed Feb 7, 2024
1 parent 3acc9ca commit 48ae6fb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ baseUrl

| parts url |
parts := self requestContext request host findTokens: ':'.
url := self requestContext request url withoutSeasideQueryFields
path: OrderedCollection new.

url := self requestContext request url withoutSeasideQueryFields path: OrderedCollection new.
url host: parts first.
parts size > 1 ifTrue: [ url port: parts last asInteger ].

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SystemOrganization addCategory: #'Seaside-Tests-Functional'!
self packageOrganizer ensurePackage: #'Seaside-Tests-Functional' withTags: #()!
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
testing
testUploadFunctionalTestWithStreamingUploads

| originalStreamUploadsSetting |
originalStreamUploadsSetting := WAAdmin serverAdaptors first server streamUploads.
[
WAAdmin serverAdaptors first server streamUploads: true.
self testUploadFunctionalTest
] ensure: [ WAAdmin serverAdaptors first server streamUploads: originalStreamUploadsSetting. ]
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SystemOrganization addCategory: #'Seaside-Tests-Parasol'!
self packageOrganizer ensurePackage: #'Seaside-Tests-Parasol' withTags: #()!

0 comments on commit 48ae6fb

Please sign in to comment.