The Trunk: Nebraska-ar.30.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Nebraska-ar.30.mcz

commits-2
Andreas Raab uploaded a new version of Nebraska to project The Trunk:
http://source.squeak.org/trunk/Nebraska-ar.30.mcz

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

Name: Nebraska-ar.30
Author: ar
Time: 5 April 2010, 10:09:31.606 pm
UUID: 9810d8fd-51eb-1b41-a861-bf5c8486164e
Ancestors: Nebraska-nice.29

Make StringSocketTestCase a bit more reliable.

=============== Diff against Nebraska-nice.29 ===============

Item was changed:
  ----- Method: StringSocketTestCase>>testBasics (in category 'running') -----
  testBasics
  end1 nextPut: #().
  end1 nextPut: #('').
  end1 nextPut: #('hello' 'world').
  end1 processIO.
-
- end2 processIO.
 
+ "The wait makes this test a bit more robust because network delivery
+ is asynchronous and may not have happened when we call end2 processIO.
+ This causes the test to fail occasionally for no apparent reason."
+ (Delay forMilliseconds: 100) wait.
+
+ end2 processIO.
  self should: [ end2 next = #() ].
  self should: [ end2 next = #('') ].
  self should: [ end2 next = #('hello' 'world') ].
  !