Skip to content

Commit

Permalink
make upload test work in gemstone
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrichau committed Feb 7, 2024
1 parent 51171f0 commit 5d01988
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ testing
testUploadFunctionalTestWithStreamingUploads

| originalStreamUploadsSetting |
originalStreamUploadsSetting := WAAdmin serverAdaptors first server streamUploads.
originalStreamUploadsSetting := self zincServer streamUploads.
[
WAAdmin serverAdaptors first server streamUploads: true.
self zincServer streamUploads: true.
self testUploadFunctionalTest
] ensure: [ WAAdmin serverAdaptors first server streamUploads: originalStreamUploadsSetting. ]
] ensure: [ self zincServer streamUploads: originalStreamUploadsSetting. ]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
private
zincServer

^ (Smalltalk at: #GemServer ifAbsent: [ nil ])
ifNil: [ WAAdmin serverAdaptors first server ]
ifNotNil: [ ((Smalltalk at: #GemServer) gemServerNamed: 'Seaside') serverInstance ]

0 comments on commit 5d01988

Please sign in to comment.