mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
rafthttp: add test stream support for current version.
This commit is contained in:
parent
5dc12f2725
commit
80a177292e
@ -380,6 +380,14 @@ func TestCheckStreamSupport(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestStreamSupportCurrentVersion(t *testing.T) {
|
||||
cv := version.Cluster(version.Version)
|
||||
cv = cv + ".0"
|
||||
if _, ok := supportedStream[cv]; !ok {
|
||||
t.Errorf("Current version does not have stream support.")
|
||||
}
|
||||
}
|
||||
|
||||
type fakeWriteFlushCloser struct {
|
||||
mu sync.Mutex
|
||||
err error
|
||||
|
Loading…
x
Reference in New Issue
Block a user