Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions test/common/network/listen_socket_impl_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ TEST_P(ListenSocketImplTestTcp, SetLocalAddress) {
EXPECT_EQ(socket.localAddress(), address);
}

TEST_P(ListenSocketImplTestTcp, CheckIpVersionWithNullLocalAddress) {
TestListenSocket socket(Utility::getIpv4AnyAddress());
EXPECT_EQ(Address::IpVersion::v4, socket.ipVersion());
}

TEST_P(ListenSocketImplTestUdp, BindSpecificPort) { testBindSpecificPort(); }

// Validate that we get port allocation when binding to port zero.
Expand Down
3 changes: 3 additions & 0 deletions test/extensions/common/wasm/wasm_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,9 @@ TEST_P(WasmCommonTest, Utilities) {
}

TEST_P(WasmCommonTest, Stats) {
// We set logger level to critical here to gain more coverage.
Logger::Registry::getLog(Logger::Id::wasm).set_level(spdlog::level::critical);

Stats::IsolatedStoreImpl stats_store;
Api::ApiPtr api = Api::createApiForTest(stats_store);
Upstream::MockClusterManager cluster_manager;
Expand Down