Skip to content

Commit

Permalink
Disable file system tests broken by infra change (envoyproxy#33117)
Browse files Browse the repository at this point in the history
* Disable file system tests broken by infra change

Signed-off-by: Raven Black <ravenblack@dropbox.com>

* Allow uninstantiated parameterized test

Signed-off-by: Raven Black <ravenblack@dropbox.com>

---------

Signed-off-by: Raven Black <ravenblack@dropbox.com>
  • Loading branch information
ravenblackx authored Mar 26, 2024
1 parent dce2931 commit 2d368c3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ TEST_F(AsyncFileHandleTest, WriteReadClose) {
}

TEST_F(AsyncFileHandleTest, LinkCreatesNamedFile) {
// TODO(https://github.com/envoyproxy/envoy/issues/33114) Enable
GTEST_SKIP();
auto handle = createAnonymousFile();
std::promise<absl::StatusOr<size_t>> write_status_promise;
// Write "hello" to the anonymous file.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1241,11 +1241,15 @@ class FileSystemHttpCacheTestDelegate : public HttpCacheTestDelegate,
};

// For the standard cache tests from http_cache_implementation_test_common.cc
// TODO(https://github.com/envoyproxy/envoy/issues/33114) Enable
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(HttpCacheImplementationTest);
/*
INSTANTIATE_TEST_SUITE_P(FileSystemHttpCacheTest, HttpCacheImplementationTest,
testing::Values(std::make_unique<FileSystemHttpCacheTestDelegate>),
[](const testing::TestParamInfo<HttpCacheImplementationTest::ParamType>&) {
return "FileSystemHttpCache";
});
*/

TEST(Registration, GetCacheFromFactory) {
HttpCacheFactory* factory = Registry::FactoryRegistry<HttpCacheFactory>::getFactoryByType(
Expand Down
1 change: 1 addition & 0 deletions test/per_file_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ declare -a KNOWN_LOW_COVERAGE=(
"source/extensions/filters/network/sni_cluster:88.9"
"source/extensions/filters/network/wasm:76.9"
"source/extensions/http/cache/simple_http_cache:95.9"
"source/extensions/http/cache/file_system_http_cache:30.0" # TODO(https://github.com/envoyproxy/envoy/issues/33114)
"source/extensions/rate_limit_descriptors:95.0"
"source/extensions/rate_limit_descriptors/expr:95.0"
"source/extensions/stat_sinks/graphite_statsd:82.8" # Death tests don't report LCOV
Expand Down

0 comments on commit 2d368c3

Please sign in to comment.