mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #11279 from YoyinZyc/stream-version-test
rafthttp: add test stream support for current version.
This commit is contained in:
commit
342b58ba31
@ -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