smalltalk
/
osmo-st-msc
Archived
1
0
Fork 0

tests: Fix two test failures in the socket handling code

This commit is contained in:
Holger Hans Peter Freyther 2012-03-30 13:41:10 +02:00
parent e141dd4568
commit d27648f276
2 changed files with 5 additions and 3 deletions

View File

@ -44,9 +44,11 @@ Object subclass: BSCListener [
]
serve [
[true] whileTrue: [
[socket isOpen] whileTrue: [
self handleOneConnection.
]
].
^ false
]
handleOneConnection [

View File

@ -170,7 +170,7 @@ TestCase subclass: BSCIPAConnectionTest [
testSmoke [
| ipa |
ipa := BSCIPAConnection
createOn: 'hi'
createOn: 'hi' writeStream
withConfig: (BSCConfigItem initWith: '0.0.0.0' name: 'foo')
msc: nil.
]