rpc unit tests can fail due to race condition
authorTom Yu <tlyu@mit.edu>
Thu, 7 Nov 2002 22:43:46 +0000 (22:43 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 7 Nov 2002 22:43:46 +0000 (22:43 +0000)
commitfd7141d96bf9326c3870541a431d2055e72566d1
treebb58a1db56f7096baec234955b2a874fa460649e
parent72a5933190206857aa099fe51404560e71148d9f
rpc unit tests can fail due to race condition

The rpc unit tests can fail in fullrun.exp due to a failure to drain
output from the server in expire.exp.  This commit works around the
problem by calling flush_server, but a real synchronization method
should probably be implemented, perhaps by having the server log when
a client disconnects.

* rpc_test.0/expire.exp (overlap): Add another call to
flush_server to make a race condition a little less likely.  There
really should be better synchronization, as this test suite is
just full of race conditions waiting to happen.

ticket: new
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14979 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/rpc/unit-test/ChangeLog
src/lib/rpc/unit-test/rpc_test.0/expire.exp