Fix unit tests
This commit is contained in:
parent
be561bb5d6
commit
73cb1811e0
@ -1,29 +1,29 @@
|
||||
# # benchmark test binaries
|
||||
# add_subdirectory(benchmark)
|
||||
# benchmark test binaries
|
||||
add_subdirectory(benchmark)
|
||||
|
||||
# # macro_benchmark test binaries
|
||||
# add_subdirectory(macro_benchmark)
|
||||
# macro_benchmark test binaries
|
||||
add_subdirectory(macro_benchmark)
|
||||
|
||||
# # stress test binaries
|
||||
# add_subdirectory(stress)
|
||||
# stress test binaries
|
||||
add_subdirectory(stress)
|
||||
|
||||
# # concurrent test binaries
|
||||
# add_subdirectory(concurrent)
|
||||
# concurrent test binaries
|
||||
add_subdirectory(concurrent)
|
||||
|
||||
# # manual test binaries
|
||||
# add_subdirectory(manual)
|
||||
# manual test binaries
|
||||
add_subdirectory(manual)
|
||||
|
||||
# # unit test binaries
|
||||
# add_subdirectory(unit)
|
||||
# unit test binaries
|
||||
add_subdirectory(unit)
|
||||
|
||||
# # property based test binaries
|
||||
# add_subdirectory(property_based)
|
||||
# property based test binaries
|
||||
add_subdirectory(property_based)
|
||||
|
||||
# # integration test binaries
|
||||
# add_subdirectory(integration)
|
||||
# integration test binaries
|
||||
add_subdirectory(integration)
|
||||
|
||||
# # e2e test binaries
|
||||
# add_subdirectory(e2e)
|
||||
# e2e test binaries
|
||||
add_subdirectory(e2e)
|
||||
|
||||
# # mgbench benchmark test binaries
|
||||
# add_subdirectory(mgbench)
|
||||
# mgbench benchmark test binaries
|
||||
add_subdirectory(mgbench)
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2023 Memgraph Ltd.
|
||||
// Copyright 2024 Memgraph Ltd.
|
||||
//
|
||||
// Use of this software is governed by the Business Source License
|
||||
// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source
|
||||
@ -355,6 +355,8 @@ TEST_F(DecoderEncoderTest, PropertyValueInvalidMarker) {
|
||||
case memgraph::storage::durability::Marker::DELTA_LABEL_PROPERTY_INDEX_DROP:
|
||||
case memgraph::storage::durability::Marker::DELTA_LABEL_PROPERTY_INDEX_STATS_SET:
|
||||
case memgraph::storage::durability::Marker::DELTA_LABEL_PROPERTY_INDEX_STATS_CLEAR:
|
||||
case memgraph::storage::durability::Marker::DELTA_TEXT_INDEX_CREATE:
|
||||
case memgraph::storage::durability::Marker::DELTA_TEXT_INDEX_DROP:
|
||||
case memgraph::storage::durability::Marker::DELTA_EXISTENCE_CONSTRAINT_CREATE:
|
||||
case memgraph::storage::durability::Marker::DELTA_EXISTENCE_CONSTRAINT_DROP:
|
||||
case memgraph::storage::durability::Marker::DELTA_UNIQUE_CONSTRAINT_CREATE:
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2023 Memgraph Ltd.
|
||||
// Copyright 2024 Memgraph Ltd.
|
||||
//
|
||||
// Use of this software is governed by the Business Source License
|
||||
// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source
|
||||
@ -49,6 +49,10 @@ memgraph::storage::durability::WalDeltaData::Type StorageMetadataOperationToWalD
|
||||
return memgraph::storage::durability::WalDeltaData::Type::LABEL_PROPERTY_INDEX_STATS_SET;
|
||||
case memgraph::storage::durability::StorageMetadataOperation::LABEL_PROPERTY_INDEX_STATS_CLEAR:
|
||||
return memgraph::storage::durability::WalDeltaData::Type::LABEL_PROPERTY_INDEX_STATS_CLEAR;
|
||||
case memgraph::storage::durability::StorageMetadataOperation::TEXT_INDEX_CREATE:
|
||||
return memgraph::storage::durability::WalDeltaData::Type::TEXT_INDEX_CREATE;
|
||||
case memgraph::storage::durability::StorageMetadataOperation::TEXT_INDEX_DROP:
|
||||
return memgraph::storage::durability::WalDeltaData::Type::TEXT_INDEX_DROP;
|
||||
case memgraph::storage::durability::StorageMetadataOperation::EXISTENCE_CONSTRAINT_CREATE:
|
||||
return memgraph::storage::durability::WalDeltaData::Type::EXISTENCE_CONSTRAINT_CREATE;
|
||||
case memgraph::storage::durability::StorageMetadataOperation::EXISTENCE_CONSTRAINT_DROP:
|
||||
@ -267,6 +271,8 @@ class DeltaGenerator final {
|
||||
break;
|
||||
case memgraph::storage::durability::StorageMetadataOperation::LABEL_PROPERTY_INDEX_CREATE:
|
||||
case memgraph::storage::durability::StorageMetadataOperation::LABEL_PROPERTY_INDEX_DROP:
|
||||
case memgraph::storage::durability::StorageMetadataOperation::TEXT_INDEX_CREATE:
|
||||
case memgraph::storage::durability::StorageMetadataOperation::TEXT_INDEX_DROP:
|
||||
case memgraph::storage::durability::StorageMetadataOperation::EXISTENCE_CONSTRAINT_CREATE:
|
||||
case memgraph::storage::durability::StorageMetadataOperation::EXISTENCE_CONSTRAINT_DROP:
|
||||
data.operation_label_property.label = label;
|
||||
|
Loading…
Reference in New Issue
Block a user