https://github.com/etcd-io/etcd
Revision 28342ae09707c4e33a7ebf57d4bb3bc8aa853a7e authored by Yicheng Qin on 29 June 2015, 17:46:54 UTC, committed by Yicheng Qin on 29 June 2015, 17:46:54 UTC
The original test code before fb4b0b5cf075212f79fcdfa58533915a29c0912d
doesn't work because reader side may update the
stream, while writer side writes message to the old stream and fails.

This PR removes unnecessary call to set term, and avoids this problem to
happen on term > 1 in the future.
1 parent 2afa668
Raw File
Tip revision: 28342ae09707c4e33a7ebf57d4bb3bc8aa853a7e authored by Yicheng Qin on 29 June 2015, 17:46:54 UTC
rafthttp: avoid TestStream to use outdated stream
Tip revision: 28342ae
NOTICE
CoreOS Project
Copyright 2014 CoreOS, Inc

This product includes software developed at CoreOS, Inc.
(http://www.coreos.com/).
back to top