From a5e7a4478ceb1858c86866b0357ba17af9f920ae Mon Sep 17 00:00:00 2001 From: gavincook Date: Tue, 20 Nov 2018 22:44:05 +0800 Subject: [PATCH] #906 - add test for buffer usage ratio --- src/test/java/io/lettuce/core/ClientOptionsUnitTests.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/io/lettuce/core/ClientOptionsUnitTests.java b/src/test/java/io/lettuce/core/ClientOptionsUnitTests.java index e10a50ab83..febec7b9ec 100644 --- a/src/test/java/io/lettuce/core/ClientOptionsUnitTests.java +++ b/src/test/java/io/lettuce/core/ClientOptionsUnitTests.java @@ -45,5 +45,6 @@ void checkAssertions(ClientOptions sut) { assertThat(sut.isPingBeforeActivateConnection()).isEqualTo(false); assertThat(sut.isSuspendReconnectOnProtocolFailure()).isEqualTo(false); assertThat(sut.getDisconnectedBehavior()).isEqualTo(ClientOptions.DisconnectedBehavior.DEFAULT); + assertThat(sut.getBufferUsageRatio()).isEqualTo(ClientOptions.DEFAULT_BUFFER_USAGE_RATIO); } }