Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -260,24 +260,15 @@ RsrConnectionSpecificationTestCase >> testEstablishConnection [
]

{ #category : 'running' }
RsrConnectionSpecificationTestCase >> testFailedAcceptOnAlternativeLocalhost [
RsrConnectionSpecificationTestCase >> testFailedConnect [

| acceptor initiator semaphore |
acceptor := RsrAcceptConnection
host: self alternativeLocalhost
port: self port.
| initiator |
initiator := RsrInitiateConnection
host: self localhost
port: self port.
semaphore := Semaphore new.
RsrProcessModel
fork: [[semaphore signal. acceptor waitForConnection] on: RsrWaitForConnectionCancelled do: [:ex | ex return]]
named: 'Pending WaitForConnectionCancelled'.
[semaphore wait.
self
should: [initiator connect]
raise: RsrSocketError]
ensure: [acceptor cancelWaitForConnection]
raise: RsrSocketError
]

{ #category : 'running' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Class {
RsrSocketStressTest class >> defaultTimeLimit [
"These tests take longer over a Socket"

^60 seconds
^120 seconds
]

{ #category : 'testing' }
Expand Down