From: | tlyu@mit.edu |
Subject: | CVS Commit |
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.
To generate a diff of this commit:
cvs diff -r1.48 -r1.49 krb5/src/lib/rpc/unit-test/ChangeLog
cvs diff -r1.2 -r1.3
krb5/src/lib/rpc/unit-test/rpc_test.0/expire.exp
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.
To generate a diff of this commit:
cvs diff -r1.48 -r1.49 krb5/src/lib/rpc/unit-test/ChangeLog
cvs diff -r1.2 -r1.3
krb5/src/lib/rpc/unit-test/rpc_test.0/expire.exp