You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bs...@apache.org on 2019/11/09 00:15:24 UTC
[geode] branch feature/bruce_ssl_wip updated: test compilation error
This is an automated email from the ASF dual-hosted git repository.
bschuchardt pushed a commit to branch feature/bruce_ssl_wip
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/feature/bruce_ssl_wip by this push:
new ac662af test compilation error
ac662af is described below
commit ac662af0bf5769958f1405cc49c096053b79645e
Author: Bruce Schuchardt <bs...@pivotal.io>
AuthorDate: Fri Nov 8 16:14:37 2019 -0800
test compilation error
---
.../src/test/java/org/apache/geode/internal/net/NioSslEngineTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/geode-core/src/test/java/org/apache/geode/internal/net/NioSslEngineTest.java b/geode-core/src/test/java/org/apache/geode/internal/net/NioSslEngineTest.java
index 73b97ee..754e6ab 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/net/NioSslEngineTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/net/NioSslEngineTest.java
@@ -413,7 +413,7 @@ public class NioSslEngineTest {
nioSslEngine.engine = testSSLEngine;
ByteBuffer data = nioSslEngine.readAtLeast(mockChannel, amountToRead, wrappedBuffer,
- conn.getConduit().getStats());
+ mock(DMStats.class));
verify(mockChannel, times(3)).read(isA(ByteBuffer.class));
assertThat(data.position()).isEqualTo(0);
assertThat(data.limit()).isEqualTo(individualRead * 3 + preexistingBytes);
@@ -458,7 +458,7 @@ public class NioSslEngineTest {
nioSslEngine.engine = testSSLEngine;
ByteBuffer data = nioSslEngine.readAtLeast(mockChannel, amountToRead, wrappedBuffer,
- conn.getConduit().getStats());
+ mock(DMStats.class));
verify(mockChannel, times(3)).read(isA(ByteBuffer.class));
assertThat(data.position()).isEqualTo(0);
assertThat(data.limit()).isEqualTo(individualRead * 3 + preexistingBytes);