Skip to content

Commit b033bda

Browse files
committed
Adjust values in tls inspector test to match OpenSSL
Signed-off-by: Jonh Wendell <[email protected]>
1 parent 8544388 commit b033bda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/extensions/filters/listener/tls_inspector/tls_inspector_integration_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace {
2424

2525
class LargeBufferListenerFilter : public Network::ListenerFilter {
2626
public:
27-
static constexpr int BUFFER_SIZE = 512;
27+
static constexpr int BUFFER_SIZE = 256;
2828
// Network::ListenerFilter
2929
Network::FilterStatus onAccept(Network::ListenerFilterCallbacks&) override {
3030
ENVOY_LOG_MISC(debug, "LargeBufferListenerFilter::onAccept");
@@ -369,7 +369,7 @@ TEST_P(TlsInspectorIntegrationTest, RequestedBufferSizeCanStartBig) {
369369
1);
370370
auto bytes_processed = static_cast<int>(
371371
TestUtility::readSampleSum(test_server_->server().dispatcher(), *bytes_processed_histogram));
372-
EXPECT_EQ(bytes_processed, 515);
372+
EXPECT_EQ(bytes_processed, 385);
373373
// Double check that the test is effective by ensuring that the
374374
// LargeBufferListenerFilter::BUFFER_SIZE is smaller than the client hello.
375375
EXPECT_GT(bytes_processed, LargeBufferListenerFilter::BUFFER_SIZE);

0 commit comments

Comments
 (0)