From 065080887bc0e43d6e6167c3751978f6c1129ddd Mon Sep 17 00:00:00 2001 From: Yaroslav Stefinko Date: Thu, 24 Nov 2022 17:42:41 +0200 Subject: [PATCH] DRAFT:Disable some tests to see changed codecov draft Relates-To: OLPEDGE-0 Signed-off-by: Yaroslav Stefinko --- .github/workflows/psv_pipelines.yml | 4 ++++ olp-cpp-sdk-dataservice-read/tests/MetadataApiTest.cpp | 2 +- olp-cpp-sdk-dataservice-read/tests/ParserTest.cpp | 2 +- olp-cpp-sdk-dataservice-read/tests/QuadTreeIndexTest.cpp | 2 +- .../tests/StreamLayerClientImplTest.cpp | 8 ++++---- 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/psv_pipelines.yml b/.github/workflows/psv_pipelines.yml index 2a6bbbdd9..f2745de6e 100644 --- a/.github/workflows/psv_pipelines.yml +++ b/.github/workflows/psv_pipelines.yml @@ -38,6 +38,10 @@ jobs: shell: bash - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 + with: + gcov: true + fail_ci_if_error: true + verbose: true psv-linux-gcc-build-no-cache: name: PSV / Linux gcc 7.5 / OLP_SDK_ENABLE_DEFAULT_CACHE=OFF diff --git a/olp-cpp-sdk-dataservice-read/tests/MetadataApiTest.cpp b/olp-cpp-sdk-dataservice-read/tests/MetadataApiTest.cpp index ecd3ab321..4ecd42317 100644 --- a/olp-cpp-sdk-dataservice-read/tests/MetadataApiTest.cpp +++ b/olp-cpp-sdk-dataservice-read/tests/MetadataApiTest.cpp @@ -65,7 +65,7 @@ class MetadataApiTest : public testing::Test { std::shared_ptr network_mock_; }; -TEST_F(MetadataApiTest, GetListVersions) { +TEST_F(MetadataApiTest, DISABLED_GetListVersions) { { SCOPED_TRACE("Request metadata versions."); EXPECT_CALL( diff --git a/olp-cpp-sdk-dataservice-read/tests/ParserTest.cpp b/olp-cpp-sdk-dataservice-read/tests/ParserTest.cpp index f742aa5c2..8bafa7035 100644 --- a/olp-cpp-sdk-dataservice-read/tests/ParserTest.cpp +++ b/olp-cpp-sdk-dataservice-read/tests/ParserTest.cpp @@ -288,7 +288,7 @@ TEST(ParserTest, Catalog) { catalog.GetLayers().at(0).GetVolume().GetEncryption().GetAlgorithm()); } -TEST(ParserTest, Partitions) { +TEST(ParserTest, DISABLED_Partitions) { std::string json_input = "{\ \"partitions\": [\ diff --git a/olp-cpp-sdk-dataservice-read/tests/QuadTreeIndexTest.cpp b/olp-cpp-sdk-dataservice-read/tests/QuadTreeIndexTest.cpp index b90f07045..919b063a7 100644 --- a/olp-cpp-sdk-dataservice-read/tests/QuadTreeIndexTest.cpp +++ b/olp-cpp-sdk-dataservice-read/tests/QuadTreeIndexTest.cpp @@ -184,7 +184,7 @@ const char* quad_tree_index_dump = const auto quad_tree_index_dump_len = 607; -TEST(QuadTreeIndexTest, BackwardsCompatibility) { +TEST(QuadTreeIndexTest, DISABLED_BackwardsCompatibility) { auto tile_key = olp::geo::TileKey::FromHereTile("381"); auto dump_data = std::make_shared>(); diff --git a/olp-cpp-sdk-dataservice-read/tests/StreamLayerClientImplTest.cpp b/olp-cpp-sdk-dataservice-read/tests/StreamLayerClientImplTest.cpp index ccb221f42..b97f21933 100644 --- a/olp-cpp-sdk-dataservice-read/tests/StreamLayerClientImplTest.cpp +++ b/olp-cpp-sdk-dataservice-read/tests/StreamLayerClientImplTest.cpp @@ -225,7 +225,7 @@ void StreamLayerClientImplTest::SetupNetworkExpectation(T url, T response, } } -TEST_F(StreamLayerClientImplTest, Subscribe) { +TEST_F(StreamLayerClientImplTest, DISABLED_Subscribe) { { SCOPED_TRACE("Subscribe success"); @@ -281,7 +281,7 @@ TEST_F(StreamLayerClientImplTest, Subscribe) { } } -TEST_F(StreamLayerClientImplTest, SubscribeCancellableFuture) { +TEST_F(StreamLayerClientImplTest, DISABLED_SubscribeCancellableFuture) { { SCOPED_TRACE("Subscribe success"); @@ -341,7 +341,7 @@ TEST_F(StreamLayerClientImplTest, SubscribeCancellableFuture) { } } -TEST_F(StreamLayerClientImplTest, SubscribeCancel) { +TEST_F(StreamLayerClientImplTest, DISABLED_SubscribeCancel) { settings_.task_scheduler = client::OlpClientSettingsFactory::CreateDefaultTaskScheduler(1); @@ -367,7 +367,7 @@ TEST_F(StreamLayerClientImplTest, SubscribeCancel) { EXPECT_EQ(response.GetError().GetErrorCode(), client::ErrorCode::Cancelled); } -TEST_F(StreamLayerClientImplTest, SubscribeCancelOnClientDestroy) { +TEST_F(StreamLayerClientImplTest, DISABLED_SubscribeCancelOnClientDestroy) { settings_.task_scheduler = client::OlpClientSettingsFactory::CreateDefaultTaskScheduler(1);