[Pkg] The Trunk: NetworkTests-topa.38.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Sep 7 22:05:40 UTC 2015

Tobias Pape uploaded a new version of NetworkTests to project The Trunk:

==================== Summary ====================

Name: NetworkTests-topa.38
Author: topa
Time: 8 September 2015, 12:05:34.399 am
UUID: b3158c4f-00ca-4175-960d-222c670439e6
Ancestors: NetworkTests-fbs.37

- Getting peer names can take some time.
- Looking up 'localhost' directly is more reliable to return a consistent address upon connect-to than localHostName.

=============== Diff against NetworkTests-fbs.37 ===============

Item was changed:
  ----- Method: SocketTest>>listenerAddress (in category 'setup') -----
+ 	^NetNameResolver addressForName: 'localhost'
- 	^NetNameResolver localHostAddress

Item was changed:
  ----- Method: SocketTest>>testPeerName (in category 'tests') -----
  	"None of these should throw an exception."
+ 	"This can actually take a while, depending on networks availability"
+ 	<timeout: 30>
  	Socket new peerName.
  	self testServerAccept.
  	listenerSocket peerName.
  	clientSocket peerName.
  	serverSocket peerName.!

More information about the Packages mailing list