summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-05-31 09:04:03 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-05-31 09:04:03 (GMT)
commit19090f685f5610f567baac9ded8a7495631ca63c (patch)
tree887ebc198d7f50f85d5330b06811f7fff59c1a8d
parent161a43e685132ef00e715c16fe1cf9c6a33e0a6d (diff)
downloadtcl-19090f685f5610f567baac9ded8a7495631ca63c.zip
tcl-19090f685f5610f567baac9ded8a7495631ca63c.tar.gz
tcl-19090f685f5610f567baac9ded8a7495631ca63c.tar.bz2
Prevented intermittent test failure due to race condition.
-rw-r--r--ChangeLog5
-rw-r--r--tests/socket.test1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ff6f2e7..69108c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-31 Donal K. Fellows <dkf@users.sf.net>
+
+ * tests/socket.test (socket*-13.1): Prevented intermittent test
+ failure due to race condition.
+
2012-05-29 Donal K. Fellows <dkf@users.sf.net>
* doc/expr.n, doc/mathop.n: [Bug 2931407]: Clarified semantics of
diff --git a/tests/socket.test b/tests/socket.test
index d88eb65..9f1cc78 100644
--- a/tests/socket.test
+++ b/tests/socket.test
@@ -1696,6 +1696,7 @@ test socket_$af-13.1 {Testing use of shared socket between two threads} -body {
set i 0
vwait x
close $f
+ thread::wait
}]]
set port [thread::send $serverthread {set listen}]
set s [socket $localhost $port]