[squeak-dev] The Trunk: NetworkTests-ul.32.mcz

David T. Lewis lewis at mail.msen.com
Tue Aug 14 12:34:25 UTC 2012


On Tue, Aug 14, 2012 at 07:11:26AM +0100, Frank Shearar wrote:
> On 13 August 2012 21:55, Levente Uzonyi <leves at elte.hu> wrote:
> > On Mon, 13 Aug 2012, Frank Shearar wrote:
> >
> >> On 13 August 2012 16:37,  <commits at source.squeak.org> wrote:
> >>>
> >>> Levente Uzonyi uploaded a new version of NetworkTests to project The
> >>> Trunk:
> >>> http://source.squeak.org/trunk/NetworkTests-ul.32.mcz
> >>>
> >>> ==================== Summary ====================
> >>>
> >>> Name: NetworkTests-ul.32
> >>> Author: ul
> >>> Time: 13 August 2012, 5:36:58.512 pm
> >>> UUID: 890b13a3-3ca4-b840-ae6c-f2a252618455
> >>> Ancestors: NetworkTests-dtl.31
> >>>
> >>> Added some tests for Socket >> #peerName.
> >>>
> >>> =============== Diff against NetworkTests-dtl.31 ===============
> >>>
> >>> Item was added:
> >>> + ----- Method: SocketTest>>testPeerName (in category 'tests') -----
> >>> + testPeerName
> >>> +
> >>> +       self shouldnt: [ Socket new peerName ] raise: Error.
> >>> +       self testServerAccept.
> >>> +       self shouldnt: [ listenerSocket peerName ] raise: Error.
> >>> +       self shouldnt: [ clientSocket peerName ] raise: Error.
> >>> +       self shouldnt: [ serverSocket peerName ] raise: Error!
> >>
> >>
> >> This test fails on the build server:
> >>
> >>
> >> http://squeakci.org/job/SqueakTrunk/33/testReport/NetworkTests.Kernel/SocketTest/testPeerName/
> >>
> >> Less than helpful debug stuff there - "Assertion failed" - but there you
> >> go.
> >>
> >> I would imagine it's yet another platform specific issue?
> >
> >
> > Does the VM have the new network primitives?
> 
> It's Cog r2652, so it ought to for sufficiently new meanings of "new".
> 

Cog does not provide the new network primitives. You can verify whether
your VM has the primitives by evaluating "NetNameResolver useOldNetwork".

This may be an issue in Socket class>>remoteSocketAddress that is
exposed when running with the new network support. The test attempts
to do "Socket new peerName" which does not work (but should it???).

Dave



More information about the Squeak-dev mailing list